[pulseaudio-discuss] Closing audio device and volume control

Lennart Poettering lennart at poettering.net
Fri Dec 25 06:01:31 PST 2009


On Fri, 25.12.09 14:35, Mads Kiilerich (mads at kiilerich.com) wrote:

> Lennart Poettering wrote, On 12/24/2009 05:47 PM:
> >My recommendation is to fix you app not to keep the audio device
> >open. That simply has the effect of wasting power.
> 
> In that case, how is the user expected to control the volume etc for
> this application?

Applications should tag their streams properly, so that g-v-c can have
a seperate slider for this stream that stays around even if the actual
streams come and go all the time.

Currently g-v-c only has a single slider for event sounds, but it is
planned to add more, e.g. for music, for video, for telephony and so on.

> It seems like Pidgin does exactly that (through gstreamer), and that
> makes it hard to control the volume. See
> http://pidgin.im/pipermail/support/2009-June/004101.html

Pidgin should tag its streams as event sounds. Or even better, just
use libcanberra, so that they gain automatic tagging, theming,
caching, positional event sounds and so on. But they seem to believe
libcanberra was evil. Cannot help them.

> Is this issue deadlocked as described on
> http://pidgin.im/pipermail/support/2009-June/004108.html ?

Yes, the Pidgin folks dont make sense here... It's time everyone
switches to Empathy...

Lennart

-- 
Lennart Poettering                        Red Hat, Inc.
lennart [at] poettering [dot] net
http://0pointer.net/lennart/           GnuPG 0x1A015CC4



More information about the pulseaudio-discuss mailing list