Klaus Zimmermann's Corner

Status on 2021/03/02, 06:13

Learning FreeBSD one command at a time: if your sound isn't coming from the right speaker, or you want to change its source, the sysctl hw.snd command is your friend.

For example, to set the sound to go through the 3.5mm jack, run:

sysctl hw.snd.default_unit=1 

And to switch back to the the other PC speakers:

sysctl hw.snd.default_unit=0 

There's actually a lot more you can do with sysctl, which is great. That way you don't have to memorize the syntax of many different programs for administration tasks. Off to learn more, I guess!