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

wave file has finished playing

Mar 17, 2013 at 4:23 AM
my C# GUI allows the user to press button stop or pause while the wave file is playing. how can I disable those buttons and view the play button when file ends playing ?
Coordinator
Mar 17, 2013 at 6:45 PM
well, I'd just disable Play after calling waveOut.Play().. Then subscribe to PlaybackStopped and you can re-enable Play there