I'd like to use the .NET SoundPlayer Class to implement a WAVE filesound player. I need to have Pause and Resume functions as well as an accurate count of samples played at any point in time. I am using Visual C++ .NET 2005 Express Edition.
The standard .NET SoundPlayer Class does not have the extra functionality. I tried implementing my own using the Win32 WAVEFORM AUDIO INTERFACE functions (waveOutOpen, waveHeaderPrepare, WaveOutWrite etc.) and can get a player to almost function, except that it crashes when the sound stops.
Are there any other Multi-media classes available in the .NET framework that give more expansive functionality?
Thanks, David.