Re: Firefox/Flash vs. Pulseaudio; Audio can't be directed to the desired device

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 4 September 2013 18:13, Jonathan Ryshpan <jonrysh@xxxxxxxxxxx> wrote:
>
> On Wed, 2013-09-04 at 08:32 +0100, Ian Malone wrote:
>> On 4 September 2013 06:49, Jonathan Ryshpan <jonrysh@xxxxxxxxxxx> 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#a06b7c7a5bfc7a20974b7785031169596
(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/Developer/Clients/ApplicationProperties/#pa_prop_media_role
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
-- 
users mailing list
users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org




[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux