[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 17:48:14 UTC 2021
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=252761
--- Comment #4 from Ed Maste <emaste at freebsd.org> ---
Looks like PA OSS only tries up to 16 channels:
https://github.com/PortAudio/portaudio/blob/master/src/hostapi/oss/pa_unix_oss.c#L358
/* Negotiate for the maximum number of channels for this device.
PLB20010927
* Consider up to 16 as the upper number of channels.
* Variable maxNumChannels should contain the actual upper limit after the
call.
* Thanks to John Lazzaro and Heiko Purnhagen for suggestions.
*/
maxNumChannels = 0;
for( numChannels = 1; numChannels <= 16; numChannels++ )
{
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-bugs
mailing list