I’m using the System.Media.SoundPlayer for playing sounds in C# desktop application passing the sound location.
Everything works fine. But how can I access the total file length (in milliseconds) and the player position?
Theses properties are accessible?
The System.Media.SoundPlayer class is not suitable for providing this information.
http://msdn.microsoft.com/en-us/library/system.media.soundplayer.aspx
You may want to look at some other libraries for audio playback, suggested here:
C# Audio Library