View Single Post
Posts: 37 | Thanked: 68 times | Joined on Jun 2015 @ Munich, Germany
#14
Originally Posted by taixzo View Post
Out of curiosity, is there a way to change the volume for a specific application? pactl changes it for all apps (at least, all running through PortAudio, which is usually all of them), but I would like to be able to lower the volume on a particular app.
pactl is able to do this. First list all playing applications (sink-inputs) and identify the ID like described here: http://unix.stackexchange.com/questi...mixer-or-pactl then use pactl set-sink-input-volume [ID] [volume]%

Here an example:


//EDIT: For app developers: All of this should be doable via dbus, too. Just read into PulseAudios APIs.

Last edited by V10lator; 2016-10-26 at 09:15.
 

The Following 2 Users Say Thank You to V10lator For This Useful Post: