[Bug 268136] [snd_uaudio] Distorted audio from MOTU M4 USB interface

From: <bugzilla-noreply_at_freebsd.org>
Date: Sat, 10 Dec 2022 14:13:56 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=268136

--- Comment #11 from Hans Petter Selasky <hselasky@FreeBSD.org> ---
Try this:

X is the number after "pcm" printed in dmesg.

sysctl dev.pcm.X.bitperfect=1

mixer -f /dev/mixerX vol=100
mixer -f /dev/mixerX pcm=100

virtual_oss \
 -S \
 -i 8 \
 -x 85,3,20 \
 -C 4 -c 4 -r 48000 -b 32 -s 4ms -f /dev/dspX \
 -a 0 -b 32 -c 2 -m 0,0,1,1 -d dsp \
 -a 0 -b 32 -c 2 -m 2,2,3,3 -d dsp_secondary \
 -t vdsp.ctl

# option -C gives the max number of channels in the software mixer
# option -c gives the max number of channels for the real device

After running the command above, open firefox and play something from youtube.
Do you get audio on channel index 0 and 1 (written 1 and 2 on your device)?

-- 
You are receiving this mail because:
You are the assignee for the bug.