4

I'm writing a Pro Audio application using WASAPI. This application runs a stream in exclusive mode, and resamples the audio data to and from a constant format in both directions (one resample between the capture device and the app, and another between the app and the output device). There's a page on MSDN about an Audio Resampler DSP here, but I'm not sure if this is the API I want to use.

The reason I'm not sure about it is the way the API is designed. Using IMFTransform, I need a bunch of extra buffers that really only complicate the process, and the object is designed almost like a Direct3D object where I'm communicating with some driver (it has a command queue and the buffers have locks on them).

What I'm looking for is an API that resamples the data within my own app as fast as possible. Is this the API Pro Audio applications are supposed to use for this purpose? If not, what is the correct API?

NmdMystery
  • 2,778
  • 3
  • 32
  • 60
  • I am using the Dmo-Resampler which is basically the same as the MF-Resampler for real-time resampling. It works fine. You should not have any problems with it. – Florian Apr 28 '14 at 07:04
  • @thefiloe Is the DMO-Resampler easier to use? I'm not getting much through google, can you link me to something that would help? I might use that instead. – NmdMystery Apr 28 '14 at 08:23
  • 1
    You can find my c# implementation here: http://cscore.codeplex.com/SourceControl/latest#CSCore/DSP/DmoResampler.cs – Florian Apr 28 '14 at 09:18
  • 2
    Audio Resampler DSP is correct API to use. – Roman R. May 30 '14 at 13:04

0 Answers0