camilladsp
camilladsp copied to clipboard
Add an attenuator that is always included in the pipeline
The existing volume control relies on having Volume filters in the pipeline. If the filter for some reason is missing (forgotten, wrong config loaded, etc), then volume control isn't enabled which may lead to nasty surprises. Therefore CamillaDSP should have a separate gain control, that is always included in the pipeline. This needs separate websocket commands, and a separate command line argument for the setting the initial attenuation. For safety and simplicity, this should only allow attenuating, with a gain range from -150 to 0 dB. The current name candidate is SystemAttenuation.