[wdmaudiodev] Re: USB Audio/WASAPI channel limits?

  • From: "Jerry Evans" <jerry@xxxxxxxxxxx>
  • To: <wdmaudiodev@xxxxxxxxxxxxx>
  • Date: Wed, 5 Feb 2014 18:55:09 -0000

Yes. It is odd. The descriptors all appear valid. 

 

Can I infer there are no explicit limitations in the stack? This is possibly
not a show stopper as 32+ channels is a large number in most practical
contexts. However, and annoyingly, the audio system for another well-known
proprietary OS seems happy to allow us to stream 80 channels .

 

Thanks and any other suggestions welcomed.

 

From: wdmaudiodev-bounce@xxxxxxxxxxxxx
[mailto:wdmaudiodev-bounce@xxxxxxxxxxxxx] On Behalf Of Matthew van Eerde
Sent: 05 February 2014 18:36
To: wdmaudiodev@xxxxxxxxxxxxx
Subject: [wdmaudiodev] Re: USB Audio/WASAPI channel limits?

 

The "channel mask" section of a WAVEFORMATEXTENSIBLE is a 32-bit number.
Perhaps you're tripping some wave format validation that assumes a valid
WAVEFORMATEX only ever has fewer than 32 channels. (This sounds like a bug
to me, since a channel mask of zero is always valid.)

 

From: wdmaudiodev-bounce@xxxxxxxxxxxxx
[mailto:wdmaudiodev-bounce@xxxxxxxxxxxxx] On Behalf Of Jerry Evans
Sent: Wednesday, February 5, 2014 10:27 AM
To: wdmaudiodev@xxxxxxxxxxxxx
Subject: [wdmaudiodev] USB Audio/WASAPI channel limits?

 

Greetings.

 

I'm developing a USB2 input only audio device that exposes a large (N >= 24)
number of channels. 

 

The device is recognized and streams correctly on W7x64 at up to 32
channels, 48K sample rate and both 16 and 24 bit sample sizes. Data is
recorded accurately using various commercial WASAPI hosts (Sonar/Tracktion)

 

Windows, however, appears to baulk at any larger channel count. The various
USB tracers (both stack and wire) show Windows sending a QUERY_CAPABILITIES
every second or so when device is configured with 32 channels. Anything
above that and zero action.

 

Is there some hard limit or have I missed something?

 

Cheers.

 

Jerry

Other related posts: