[wdmaudiodev] APO sample rate option for USB Endpoint device

  • From: Culann mac Cabe <culann@xxxxxxxxxx>
  • To: wdmaudiodev@xxxxxxxxxxxxx
  • Date: Wed, 14 Nov 2018 21:32:09 +0000

Hello

I am developing an SFX APO to do audio processing for a 96k USB headphone.
I understand that in this case (APO tied to USB Endpoint device) that my
APO output sample rate must match that of my USB headphone (96k).

My APO DSP algorithm supports 44.1k , 48k and 96k sample rates where its
input and output sample rates must match, so it follows that I must run my
DSP (input & output) at 96k.

I am having trying to configure IsInputFormatSupported() and
IsOutputFormatSupported() for my case.  On the above logic it would seem
that IsInputSupported() needs to:

   - Reject any sample rate except 96k
   - require input and output sample rates to be equal

(- with the same applying to IsOutputFormatSupported() )

I need to support the playback of any and all audio sample rates through my
APO and presume that, with the Input & Output Format support configurated
as above, Windows with do any necessary resampling necessary to always
present 96k to my APO.

Are the above observations correct?  Thank - I'd really appreciate and and
all comments/advice!
Culann

Other related posts: