Xfce.org | Xfce Goodies | Xfce Foundation Classes | Xfce Bug Tracker | Xfce Wiki | Xfce Forum | Xfce-look | Xfce DevBlog     

Xfce News
The little mouse told me...

10 Dec 2008

Limitations of the PulseAudio backend for GStreamer

Jannis Pohlmann @ 07:28:45 UTC — Filed under: Xfce

I’m at the Ubuntu Developer Summit this week and Emmet Hikory just approached me with a question about the PulseAudio support in xfce4-mixer. The problem he has is that when he wants to plug in in a bluetooth headset PulseAudio might act weird and there’s only one way to fix this from the user’s point of view, which is to use pavucontrol or one of the other PulseAudio tools. Unfortunately those tools don’t provide a good user experience. Controls are given technical names and too much of the internal technical stuff is being exposed to the user.
So, his idea is that there has to be a user-friendly way (like using xfce4-mixer) to e.g. control the bluetooth headset after it has been plugged in.
I just took a quick look at the PulseAudio code shipped with gst-plugins-good and to me it seems to be in a pretty bad shape. Unless I’m mistaken it only exposes one track through the GstMixer interface: Master. So if you have several devices capable of audio playback/recording, like a normal sound card and a bluetooth headset, you have no control over which of them is being muted, used for recording or whatever.
What I would expect is to either have a list of tracks (one for each sink – and please give them user-friendly names!) exposed through the GstMixer interface or to have a switch for choosing the sink you want to control with the Master track. Without this, no mixer application is able to provide a user-friendly way to control PulseAudio – unless it implements its own PulseAudio support.
One major reason for rewriting xfce4-mixer based on GStreamer has always been to get rid of the need to maintain our own audio system backends. The old mixer had its own backends for ALSA, OSS and BSD and it really sucked.

So I’m hoping that maybe someone steps up to implement a proper PulseAudio backend for GStreamer, with tracks for all available audio sinks and streams. I think I’d prefer tracks over a simple switch because they allow for a more fine-grained configuration of your devices. Thanks Emmet for pointing that out.

author_img

2 Comments »

  1. I’ve been a long time user of Xfce (since 2.x) – and while this isn’t related to your blog directly, I’m somewhat disappointed to see Xfce’s focus is on a ‘user friendly’ experience (one of the pitfalls that comes with Gnome as well, imo).

    I’ve always used Xfce because it’s light weight, high performance (or at least, it used to be), and not bloated with crap I don’t want/need.

    I can only hope Xfce continues to expose as much detail as is required for a good desktop experience (including those bits and pieces average users don’t even want to know about), even in xfce4-mixer.

    Comment by Mitch — 11 Dec 2008 @ 06:47:21 UTC

  2. [...] and GStreamer: We discussed the limited PulseAudio backend for GStreamer in a group of up to five people and agreed that it really needs improvement (as in more tracks have [...]

    Pingback by Xfce News » Topics raised at UDS — 24 Dec 2008 @ 14:42:16 UTC

RSS feed for comments on this post. TrackBack URI

Leave a comment

Webmaster
Xfce is © Olivier FOURDAN 1996 - 2004 | Powered by WordPress and Lunar Linux | 0.408