As mentioned in this SO article, Media Foundation attempts to preserve the pitch of the audio when the rate is not 1.0.
I would like to disable this feature in Media Foundation so that it behaves just as Direct Show does: when you increase playback above a rate of 1.0, the audio pitch increases, when you go below 1.0 it decreases.
On macOS you can control this with AVFoundation's QTMovieRateChangesPreservePitchAttribute setting as described here.
Does anyone know how to do this with Media Foundation?