On 4 September 2013 18:13, Jonathan Ryshpan <jonrysh(a)pacbell.net> wrote:
On Wed, 2013-09-04 at 08:32 +0100, Ian Malone wrote:
> On 4 September 2013 06:49, Jonathan Ryshpan <jonrysh(a)pacbell.net> wrote:
> > Pulseaudio can control which output device receives main audio output via
> >
> > kmix->Mixer->Settings->Audio Setup->...
> >
> > which invokes Phonon. At this point select the audio stream you want to
> > divert, "Prefer" the device you want to receive the stream to the top
and
> > "Apply". This sends the audio stream, the output of Amarok (in my
case) to
> > the desired device, "Built-in Audio Analog Stereo" (in my case).
> >
> > EXCEPT that this doesn't work for a stream originating in Firefox/Flash.
> > How can I redirect this stream? What am I missing?
> >
>
> Which version of Fedora are you using? I ask because in F18 KDE the
> Phonon KDE control only allows adjustment of output per category
> (music, video, notifications etc). Both the flash plugin and firefox
> use pulse's alsa plugin for playback, I'm not sure what category they
> come under, whether they come under the same category or even if
> applications using the alsa plugin can communicate their category.
>
> Anyway, if you've tried all the categories and the overall device
> control with no luck then try installing pavucontrol. The leftmost
> 'playback' tab will allow per-stream (actual streams, not categories)
> control of the device used. However it only shows active streams, so
> you need to start playback to get the stream you want to appear.
I am using Fedora-19. Kmix works just as you describe, only allowing
adjustment of output by category. Here's the version info for Kmix:
KMix Version 4.3 Using KDE Development Platform 4.10.5
No category controls the alsa plugin, i.e. Firefox/Flash. (WHY NOT??)
You'd need to ask on the pulseaudio and Phonon development lists. My
guess is that the categories phonon suggests correspond to some of the
'media.role' values:
http://freedesktop.org/software/pulseaudio/doxygen/proplist_8h.html#a06b7...
(with notifications=event and communication=phone), but 'flash'
probably counts as animation (assuming a media role is set at all),
which isn't listed in my audio playback dropdown within phonon.
Have you tried setting the overall 'audio playback' order? I
appreciate that may mess up other stuff for you, but wondering if it
makes a difference.
It might be possible to override the type flash gets, but you'd need
to put it in your .bash_login or something,
http://www.freedesktop.org/wiki/Software/PulseAudio/Documentation/Develop...
more sensibly it would be fairly straightforward for someone familiar
with the code to add the animation type to phonon, could be filed as a
RFE with KDE.
HOWEVER, pavucontrol works perfectly. Is there any way to make it
the
default mixer for the KDE's audio applet?
Don't think so, but you could add a launcher to the panel instead.
--
imalone
http://ibmalone.blogspot.co.uk