[pulseaudio-discuss] paplay - sound roles?

Lennart Poettering lennart at poettering.net
Mon Dec 28 07:32:02 PST 2009


On Mon, 28.12.09 23:14, Ng Oon-Ee (ngoonee at gmail.com) wrote:

> > > Is there a way to specify a sound to be a 'system sound' as defined by
> > > System Sounds on pavucontrol, when played by paplay?
> > > 
> > > If so, then programs such as pidgin which allow playing event
> > > notifications through a command would be useable without modification.
> > 
> > paplay --property=media.role=event ...
> > 
> > Lennart
> > 
> Thanks Lennart. man paplay doesn't show that syntax... is it a
> relatively recent addition?

Kinda. "paplay --help" shows it. Patches for the man pages (same way
as for the code) always appreciated! ;-)

> And I can confirm that works fine with pidgin, should I add it to the
> wiki? Considering once in a while the question "how do I adjust my
> pidgin volume when the sounds are so damn short" keeps popping up again
> and again.

Sure, please do.

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