! muxout. \
{audio_source} {audio_options} client-name="webm_streaming_{id}_audio" ! audio/x-raw, format=F32LE, channels={channels} \
! queue ! audiocheblimit mode=high-pass cutoff=120 poles=4 \
- ! queue ! volume volume={gain_pre} \
+ ! queue ! volume volume={volume_pre} \
! queue ! audiodynamic characteristics=soft-knee mode=compressor threshold=0.125 ratio=0.125 \
- ! queue ! volume volume={gain_post} \
+ ! queue ! volume volume={volume_post} \
! queue ! audiodynamic characteristics=hard-knee mode=compressor threshold=0.95 ratio=0.001 \
! queue ! audioconvert \
! queue ! opusenc bitrate={opus_bitrate} \
AUDIO_PIPELINE_BASE="""{audio_source} {audio_options} client-name="mp3_streaming_audio" \
! audio/x-raw, format=F32LE, channels={channels} \
! queue ! audiocheblimit mode=high-pass cutoff=120 poles=4 \
- ! queue ! volume volume={gain_pre} \
+ ! queue ! volume volume={volume_pre} \
! queue ! audiodynamic characteristics=soft-knee mode=compressor threshold=0.125 ratio=0.125 \
- ! queue ! volume volume={gain_post} \
+ ! queue ! volume volume={volume_post} \
! queue ! audiodynamic characteristics=hard-knee mode=compressor threshold=0.95 ratio=0.001 \
! queue ! audioconvert \
! queue ! lamemp3enc quality={mp3_quality} \