Re: [pulseaudio-discuss] paplay - sound roles?

2009-12-31 Thread Lennart Poettering
On Tue, 29.12.09 07:40, Ng Oon-Ee (ngoo...@gmail.com) wrote: 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! ;-) So I'd just submit a

[pulseaudio-discuss] paplay - sound roles?

2009-12-28 Thread Ng Oon-Ee
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.

Re: [pulseaudio-discuss] paplay - sound roles?

2009-12-28 Thread Tomasz Torcz
On Mon, Dec 28, 2009 at 05:41:32PM +0800, Ng Oon-Ee 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? Yes, by exporting PULSE_PROP_MEDIA_ROLE variable. See the bottom of

Re: [pulseaudio-discuss] paplay - sound roles?

2009-12-28 Thread Lennart Poettering
On Mon, 28.12.09 17:41, Ng Oon-Ee (ngoo...@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

Re: [pulseaudio-discuss] paplay - sound roles?

2009-12-28 Thread Ng Oon-Ee
On Mon, 2009-12-28 at 15:45 +0100, Lennart Poettering wrote: On Mon, 28.12.09 17:41, Ng Oon-Ee (ngoo...@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