sox-users@lists.sourceforge.net unofficial mirror
 help / color / mirror / code / 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	[thread overview]
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	other threads:[~2019-10-09 10:18 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-10-08 17:42 Can I specify the pulseaudio "application name"? 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 publicly 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
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://80x24.org/mirrors/sox.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).