In my app, I do .wav file playback which works fine I click on my Pause button and do waveoutDevice.Pause() which works ok.
But then, when I click on the play button, I am not sure what to do: I tried currentStream.Resume() and it did not work, then I tried waveoutDevice.Play() and it did not work either...
What is the right way to implement this? What do I call and what is the sequence? Or is it a bug?
BTW, my currentStream is this:
_fileName = fileName;
WaveFileReader reader =
WaveChannel32(reader);<font size="2"> </font><font
volume = 1.0f;
Jul 29, 2010 at 11:26 PM
Have you reviewed the tutorials linked from the home page?
Tutorial 2 covers how to play and pause a sample: