Fedora 11 nerfed my mixer

Callum Lerwick seg at haxxed.com
Wed Apr 22 20:24:40 UTC 2009


On Wed, 2009-04-22 at 21:14 +0100, Bastien Nocera wrote:
> On Wed, 2009-04-22 at 14:51 -0500, Callum Lerwick wrote:
> <snip>
> > > I don't know what Pidgin uses, but spitting out alert sounds using
> > > paplay is unlikely to work well at all.
> > 
> > Why not? Small processes working together is the Unix way. But people
> > seem to have forgotten that.
> 
> Because paplay doesn't know it's playing a sound event, music, or audio
> from a softphone. I also gave the work-around to avoid the change of
> volume with flat-volumes enabled.

Well then you GIVE it the ability to do so. Are you not a programmer?
Make paplay do this:

paplay --role event alert.wav

And apparently there IS a way to make it work, with the env variables
you keep mentioning.

(... why would paplay be playing audio from a softphone?)

> > Pidgin doesn't exactly have low latency requirements.
> > 
> > > You need to set the
> > > "PULSE_PROP_media.role=event" envvar before launching paplay. Otherwise
> > > it thinks paplay is a normal, say, music application and will change the
> > > volumes.
> > > 
> > > That's a good use of your patch action: port Pidgin to use libcanberra.
> > 
> > How about a command line interface to libcanberra?
> 
> PULSE_PROP_media.role=event paplay

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part
URL: <http://listman.redhat.com/archives/fedora-devel-list/attachments/20090422/a0e8f0fa/attachment.sig>


More information about the fedora-devel-list mailing list