Yes, in such a setup, your APO should support *only* 96 kHz. Windows and the
application, between them, will take care of any necessary format conversion,
including sample rate conversion. Precisely how this works will depend on the
application, but your APO will only ever see 96 kHz sampled audio.
________________________________
From: wdmaudiodev-bounce@xxxxxxxxxxxxx <wdmaudiodev-bounce@xxxxxxxxxxxxx> on
behalf of Culann mac Cabe <culann@xxxxxxxxxx>
Sent: Wednesday, November 14, 2018 1:32:09 PM
To: wdmaudiodev@xxxxxxxxxxxxx
Subject: [wdmaudiodev] APO sample rate option for USB Endpoint device
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