Here's that section of the script:
Bash:
INDEX_SINK_0=$( pactl load-module module-null-sink sink_name=Meeting_Playback format=float32 rate=48000 channels=2 channel_map=front-left,front-right )
INDEX_SINK_1=$( pactl load-module module-null-sink sink_name=Meeting_Return format=float32 rate=48000 channels=2 channel_map=front-left,front-right )
INDEX_SOURCE_0=$( pactl load-module module-null-sink media.class=Audio/Source/Virtual sink_name=Meeting_Mics format=float32 rate=48000 channels=2 channel_map=front-left,front-right )
INDEX_SOURCE_1=$( pactl load-module module-null-sink media.class=Audio/Source/Virtual sink_name=Meeting_Send format=float32 rate=48000 channels=2 channel_map=front-left,front-right )
INDEX_SOURCE_2=$( pactl load-module module-null-sink media.class=Audio/Source/Virtual sink_name=Meeting_Rtn_Proc format=float32 rate=48000 channels=2 channel_map=front-left,front-right )
INDEX_SOURCE_3=$( pactl load-module module-null-sink media.class=Audio/Source/Virtual sink_name=Meeting_Record format=float32 rate=48000 channels=2 channel_map=front-left,front-right )
pactl set-default-sink Meeting_Playback
pactl set-default-source Meeting_Mics
...
Now that I've posted it here, I suppose one thing to try might be the
format. I picked
float32 because its deficiencies are completely negligible even if it's abused, but the processing is such that 16-bit integer won't be abused either. And if I remember right, the recording in OBS is 16-bit integer anyway, lossless *after* that conversion because FLAC.