https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=252761
Bug ID: 252761
Summary: multichannel USB audio device reports only 2 channels
via SNDCTL_AUDIOINFO
Product: Base System
Version: CURRENT
Hardware: Any
OS: Any
Status: New
Severity: Affects Only Me
Priority: ---
Component: kern
Assignee: [email protected]
Reporter: [email protected]
After attaching an 18-in / 18-out device:
ugen0.7: <BEHRINGER X18/XR18> at usbus0
uaudio0 on uhub0
uaudio0: <X18/XR18> on usbus0
uaudio0: Play[0]: 48000 Hz, 18 ch, 32-bit S-LE PCM format, 2x8ms buffer.
uaudio0: Record[0]: 48000 Hz, 18 ch, 32-bit S-LE PCM format, 2x8ms buffer.
uaudio0: MIDI sequencer.
pcm2: <USB audio> on uaudio0
uaudio0: No HID volume keys found.
SNDCTL_AUDIOINFO reports min_channels = 2, max_channels = 2
pcm/dsp.c::dsp_oss_audioinfo() only reports 1 or 2 for min/max it appears:
for (i = 0; caps->fmtlist[i]; i++) {
fmts |= caps->fmtlist[i];
if (AFMT_CHANNEL(caps->fmtlist[i]) > 1) {
minch = (minch == 0) ? 2 : minch;
maxch = 2;
} else {
minch = 1;
maxch = (maxch == 0) ? 1 : maxch;
}
}
--
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "[email protected]"