[pulseaudio-tickets] [Bug 39704] Addition of multiple default sound device groupings

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Mon Aug 1 14:00:16 PDT 2011


https://bugs.freedesktop.org/show_bug.cgi?id=39704

--- Comment #4 from Colin Guthrie <fdo at colin.guthr.ie> 2011-08-01 14:00:16 PDT ---
(In reply to comment #3)
> (In reply to comment #2)
> > (I meant to say, please get in touch if you are going to the Desktop Summit for
> > further discussions on this. This is the perfect time to give input on the
> > topic and the DS is the perfect place to do it. But if you are not going, then
> > there is still plenty opportunity to liaise about it!)
> 
> Sadly I will not be able to attend the Desktop Summit.

That's a shame. Please do join our mailing list and hang out on our IRC channel
as lots of this stuff gets covered there (and the list isn't super high
traffic).

> However, I was doing a
> bit more thinking and instead of requiring applications to report whether they
> are chat applications or not, PulseAudio could have a list of known streams
> from them that are and reroute them to the appropriate device group.

This is already possible actually. Apps can inform us of their "media.role" via
a stream proplist. If the app does not fill in this metadata we attempt to
automatically augment this metadata via module-augment-properties. It does this
via reading the corresponding .desktop file and reading the Category= entry and
attempts to map that to our list of known roles. It's not perfect (especially
for voip apps where the "ringing" or "buddy signed in/out" sounds should be
marked as "event" sounds, but the actual conversations and calls should be
marked as "voip" sounds - the augmentation stuff cannot really do much about
knowing which sounds are which in this case, especially if the app only opens
one stream to PA and mux's all it's sounds itself.


Some VoIP tools already provide nice metadata. Both Empathy and Skype do for
example (there may still be some tagging bugs in Skype tho' - don't think I've
tested their most recent version).

> Anyway, I am perfectly willing to talk to both sides of the equation about ways
> to get this done (and perhaps other desktop project developers as well), so if
> we could set up some sort of discussion that would be nice. I just did the blog
> entry since I knew of no other way to get the ideas all in one place at the
> time. If all else fails I suppose we can get a good chat going and you could
> bring it up at the DS. Anyway, going to read your blog post now. :)

Yeah, rest assured there is already work going on in this area :)

Please do feel free to participate and I'll try and do some good right ups of
the DS stuff.

I'm also forming a "PulseAudio Planet" where anything linux audio related on
blogs can go, so if you think you'll be writing more pieces on PA and how it
fits into any desktop env, please do send me and RSS feed (tag specific to PA)
so that I can add it into the loop :)

Cheers

Col

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.


More information about the pulseaudio-bugs mailing list