sox-users@lists.sourceforge.net unofficial mirror
 help / color / Atom feed
From: Måns Rullgård <mans@mansr.com>
To: John W <jwdevel@gmail.com>
Cc: sox-users@lists.sourceforge.net
Subject: Re: Can I specify the pulseaudio "application name"?
Date: Wed, 09 Oct 2019 11:18:26 +0100
Message-ID: <yw1x36g243yl.fsf@mansr.com> (raw)
In-Reply-To: <CADO30spviE9tBTXVx5+0EEiSJ1UaMnPqGcPn-w4TtCG7v+ww5g@mail.gmail.com> (John W.'s message of "Tue, 8 Oct 2019 10:42:06 -0700")

John W <jwdevel@gmail.com> 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


_______________________________________________
Sox-users mailing list
Sox-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sox-users

  reply index

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-10-08 17:42 John W
2019-10-09 10:18 ` Måns Rullgård [this message]
2019-10-09 16:42   ` Jeremy Nicoll - ml sox users
2019-10-10  6:26     ` John W
2019-10-10  8:31       ` Måns Rullgård

Reply instructions:

You may reply publically to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-list from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://lists.sourceforge.net/lists/listinfo/sox-users

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=yw1x36g243yl.fsf@mansr.com \
    --to=sox-users@lists.sourceforge.net \
    --cc=jwdevel@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

sox-users@lists.sourceforge.net unofficial mirror

Archives are clonable: git clone --mirror https://public-inbox.org/sox-users

Example config snippet for mirrors

Newsgroups are available over NNTP:
	nntp://news.public-inbox.org/inbox.comp.audio.sox
	nntp://ou63pmih66umazou.onion/inbox.comp.audio.sox
	nntp://news.gmane.org/gmane.comp.audio.sox

 note: .onion URLs require Tor: https://www.torproject.org/

AGPL code for this site: git clone https://public-inbox.org/public-inbox.git