Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 20 Jan 2021 17:48:14 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 252761] multichannel USB audio device reports only 2 channels via SNDCTL_AUDIOINFO
Message-ID:  <bug-252761-227-b6ny5NafeW@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-252761-227@https.bugs.freebsd.org/bugzilla/>
References:  <bug-252761-227@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D252761

--- Comment #4 from Ed Maste <emaste@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 =3D 0;
    for( numChannels =3D 1; numChannels <=3D 16; numChannels++ )
    {

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-252761-227-b6ny5NafeW>