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/>

index | next in thread | previous in thread | raw e-mail

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

--- 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 = 0;
    for( numChannels = 1; numChannels <= 16; numChannels++ )
    {

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

home | help

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