This project has moved. For the latest updates, please go here.

FadeInOutSampleProvider

Jul 25, 2016 at 5:34 PM
Edited Jul 25, 2016 at 5: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
Coordinator
Aug 1, 2016 at 11:56 AM
Yes, that would be a helpful addition to FadeInOutSampleProvider.