Disabling an audio channel

OS: FreeBSD 14.1-RELEASE amd64
I have a laptop, and one of its stereo speakers has playback issues. I intend to block that speaker and only use the other as mono.
How can I configure FreeBSD's OSS to do that?
 
Hello,

you set to mono by using sysctl dev.pcm.$PCMNUM.play.vchanformat=s16le:1.0

If it works and you want to keep this setting even after reboot, add dev.pcm.$PCMNUM.play.vchanformat=s16le:1.0 to /etc/sysctl.conf.

$PCMNUM have to be replaced with your PCM number that you are currently using, this setting wont change if an audio session is active.
 
Back
Top