Quantcast
Channel: NAudio
Viewing all articles
Browse latest Browse all 5831

New Post: FadeInOutSampleProvider

$
0
0
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

Viewing all articles
Browse latest Browse all 5831

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>