The simplest way is to have a timer that fires say 10 times a second, and uses the CurrentPosition property of the WaveFileReader/Mp3FileReader to find out where we are up to. There are more accurate ways using the waveOutGetposition API, but this is usually fine for most applications.
↧