Re: [Jack-Devel] Hook for master volume

PrevNext  Index
DateSun, 13 Jul 2014 16:24:03 +0200
From Adrian Knoth <[hidden] at drcomp dot erfurt dot thur dot de>
To[hidden] at lists dot jackaudio dot org
In-Reply-ToHolger Marzen [Jack-Devel] Hook for master volume
Follow-UpHolger Marzen Re: [Jack-Devel] Hook for master volume
On Sun, Jul 13, 2014 at 03:05:09PM +0200, Holger Marzen wrote:

> Hi all,

Hi!

> a master volume fader is missing in JACK. Some audio interfaces don't

You couldn't be more wrong. Firstly, there is no master, which renders
your entire message invalid.

Then, JACK moves audio between apps and occasionally from and to
physical ports that may or may not be on the same machine.

Under no circumstances would JACK fiddle with the data itself, that is,
change its volume.

If you want to change some volume, add any of the many JACK mixers into
the signal flow, and you're set. We have a flexible and modular approach
for that, and it's intended behaviour that the user has to ask for
whatever he needs.

> What's needed is a hook within system where a master volume fader can be
> inserted.

You can have this. Subscribe to the graph change callback, see whatever
client outputs to these ports and rewire them through a mixer app
whenever you think it makes sense.


Or don't let feature-incomplete consumer apps output to JACK directly.
Have them output their data via pulseaudio and use pavucontrol to adjust
the volume.


HTH

-- 
mail: [hidden]  	http://adi.thur.de	PGP/GPG: key via keyserver
PrevNext  Index

1405287110.10954_0.ltw:2, <20140713142403.GU6157 at ltw dot loris dot tv>