This project has moved and is read-only. For the latest updates, please go here.

FadeInOutSampleProvider and MediaFoundationReader, how?

Feb 26, 2014 at 6:08 PM
I just downloaded the latest version of Naudio and I'm going to upgrade my program from using the AudioFileReader to using the MediaFoundationReader.
The problem seems to the that I cannot use the FadeInOutSampleProvider with the MediaFoundationReader. Does anyone know how to use these two together?
Feb 26, 2014 at 7:21 PM
Just do "ToSampleProvider" on the MediaFoundationReader, and then you can chain it into FadeInOutSampleProvider
Feb 27, 2014 at 11:49 AM
Edited Feb 27, 2014 at 11:51 AM
Ah! Thank you.