The default settings of oss are insane.
These settings are for pure quality without cracking or any other kind of distortion and low-quality annoyance. This is an passthrough, bypassing some features you don't need. This gives you full quality without thinking about it anymore.
sysctl.conf
Change this to:
hw.snd.default_unit=0
hw.snd.compat_linux_mmap=1
dev.pcm.0.bitperfect=1
dev.pcm.0.play.vchanmode=passthrough
dev.pcm.0.play.vchanrate=192000
dev.pcm.0.play.vchanformat=s16le:2.0
---------------------------------------
Additional non necessary settings:
dev.pcm.0.play.vchans=128
hw.snd.maxautovchans=256
hw.snd.verbose=0
hw.snd.report_soft_formats=0
hw.snd.report_soft_matrix=1
hw.snd.vpc_autoreset=0
---------------------------------------
Required for sound-card-kernel-panics, this bypasses them.
dev.hdac.0.polling=1
These settings are for pure quality without cracking or any other kind of distortion and low-quality annoyance. This is an passthrough, bypassing some features you don't need. This gives you full quality without thinking about it anymore.
sysctl.conf
Change this to:
hw.snd.default_unit=0
hw.snd.compat_linux_mmap=1
dev.pcm.0.bitperfect=1
dev.pcm.0.play.vchanmode=passthrough
dev.pcm.0.play.vchanrate=192000
dev.pcm.0.play.vchanformat=s16le:2.0
---------------------------------------
Additional non necessary settings:
dev.pcm.0.play.vchans=128
hw.snd.maxautovchans=256
hw.snd.verbose=0
hw.snd.report_soft_formats=0
hw.snd.report_soft_matrix=1
hw.snd.vpc_autoreset=0
---------------------------------------
Required for sound-card-kernel-panics, this bypasses them.
dev.hdac.0.polling=1