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

FadeInOutSampleProvider

Jul 25, 2016 at 6:34 PM
Edited Jul 25, 2016 at 6:35 PM
Hi, I am using a FadeInOutSampleProvider for my application fade in and fade out. I am looking for a way to have the file stop playing when the fade out is completed. Is there a way to do this without modifying the sample provider?

What I had in mind was to have a option "StopOnFadeOutAtSilence" if there is no other way to do this? If this option is true the provider will return zero count at silence.
Sid
Aug 1, 2016 at 12:56 PM
Yes, that would be a helpful addition to FadeInOutSampleProvider.