[pulseaudio-discuss] setting a volume on a short lived stream

Brian J. Murrell brian at interlinx.bc.ca
Fri Oct 30 19:13:58 PDT 2009


On Fri, 2009-10-30 at 19:28 -0400, Daniel Chen wrote: 
> On Fri, Oct 30, 2009 at 7:26 PM, Lennart Poettering
> <lennart at poettering.net> wrote:
> > Dunno, maybe the PA backend for libcanberra is not installed? Ubuntu
> > really should install that by default. It's kinda disappointing if
> > they don't. Please file a bug against Ubuntu.
> 
> The PA backend for libcanberra is definitely seeded by default on the
> installation and desktop images.

lsof says that metacity has opened the libcanberra[-gtk] library:

metacity 18592 brian  mem    REG  252,2    13772  282544 /usr/lib/libcanberra-gtk.so.0.1.1
metacity 18592 brian  mem    REG  252,2    59036  279588 /usr/lib/libcanberra.so.0.1.7
metacity 18592 brian  mem    REG  252,2    13776  317538 /usr/lib/libcanberra-0.15/libcanberra-alsa.so

Ah ha.  But somebody said "backend"  That above looks like
metacity/libcanberra are using an ALSA "backend".  Let's see what kind
of pulse alternative there is...  Yup...  Just installed
"libcanberra-pulse".  Let's see how that changes the "user
experience".  :-)

Hrm.  A number of apps are using libcanberra and might benefit from
being restarted to use the pulse backend:

gnome-set 18571 brian  mem   REG  252,2     13776     317538 /usr/lib/libcanberra-0.15/libcanberra-alsa.so
metacity  18592 brian  mem   REG  252,2     13776     317538 /usr/lib/libcanberra-0.15/libcanberra-alsa.so
gnome-vol 18646 brian  mem   REG  252,2     13776     317538 /usr/lib/libcanberra-0.15/libcanberra-alsa.so

Sweet.  Restarting metacity seems to have gotten things in better shape:

metacity  18945 brian  mem  REG  252,2     26156     311402 /usr/lib/libcanberra-0.15/libcanberra-pulse.so

And even sweeter now... metacity "bell" volume is following the "System
Sounds" setting.  Nice.

Thanx for all the pointers!

b.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part
URL: <http://lists.freedesktop.org/archives/pulseaudio-discuss/attachments/20091030/23de6837/attachment.pgp>


More information about the pulseaudio-discuss mailing list