[Bug 252761] multichannel USB audio device reports only 2 channels via SNDCTL_AUDIOINFO

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Wed Jan 20 03:43:53 UTC 2021


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=252761

--- Comment #3 from Ed Maste <emaste at freebsd.org> ---
I've submitted a few pull requests to PortAudio related to the work that
prompted this PR:

https://github.com/PortAudio/portaudio/pull/448
https://github.com/PortAudio/portaudio/pull/449
https://github.com/PortAudio/portaudio/pull/450

with these applied as well as addition of cases for AFMT_S32_NE I can now
record from the XR18 in 2 channel mode with bitperfect=1.

Attempting to record in 18 channel mode results in a PA assertion:

21:42:13: Debug: GetBestRate() suggested rate 48000 Hz
21:42:13: Debug: GetBestRate() Returning 48000 Hz
Assertion failed: (firstChannel + channelCount <= bp->inputChannelCount),
function PaUtil_SetInterleavedInputChannels, file src/common/pa_process.c, line
482.
Abort trap (core dumped)

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


More information about the freebsd-bugs mailing list