Re: Can I specify the pulseaudio "application name"?

Måns Rullgård <[email protected]>
Newsgroups gmane.comp.audio.sox
Message-ID <[email protected]>
John W <[email protected]> writes:

> Sometimes I play sounds from commandline with the 'play' command. This
> shows up as a pulseaudio stream (aka 'sink source') named "SoX". I can
> adjust the volume for that stream separate from others on my system,
> no problem.
>
> But what I'd like to do is have some set of these (eg: notification
> sounds) be a different volume from others (eg: all the rest). So, I
> thought maybe there's some way to specify a pulseaudio application
> name other than "SoX" (maybe "SoX-my-notifications", or somesuch).
> Then, I can adjust the volume for that separately, and pulse will
> remember it.
>
> But so far, I haven't found any way to do this.
>
> Anyone know if this is possible?

There is currently no way to set the name.  It is hard-coded here:
https://sourceforge.net/p/sox/code/ci/master/tree/src/pulseaudio.c#l65

-- 
Måns Rullgård
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.