Does anyone know what type of filter and order is applied when using MediaFoundationResampler to resample audio?
I looked in the sourcecode of NAudio and as far I understand the resampling happens in the MediaFoundation. On MSDN I didn't find a hint which filter is applied.
I don't think Microsoft reveal details of the internal implementation, but there is a quality setting (which NAudio exposes as ResamplerQuality
) you can set between 1 (linear interpolation) and 60 (highest quality). It is set internally with a call to SetHalfFilterLength, which may provide a clue to what is going on in terms of DSP.