I am using the NAudio library in a C # application. Trying to search for an audio mp3 file in the position I want, I found that I did not understand how to do this.
And ... He played, starting almost from the very beginning, but not from the 16th second. I also found a solution that I thought was true:
waveStream.Seek(waveStream.WaveFormat.AverageBytesPerSecond * 16, SeekOrigin.Begin);
It seems to be closer to the truth. Is my decision right or wrong? If not, what should I do?
source share