Hi, I'm using NAudio's WaveViewer control to show waveform of a file. I can play this file. But now I want to make an indicator which shows which part of wave is currently being played.
I'll try to make myself clearer.
Imagine that you have WaveViewer. You click PLAY button, and then the file is being played. What's more, you can see a vertical line(on waveViewer) that moves while the file is played. It indicates a current position. I hope you know what I mean. I just don't know how to obtain current position of played file. All the changes in WaveViewer I'm gonna do by myself. But how do I know, what sample is currently being played?