First of all, I would like to thank the NAudio team for creating this software package. I tried working with DirectSound and many more of the Microsoft libraries and they are pretty god awful and don't offer some of the basics that NAudio offers. So thanks
Now to my question. I am using NAudio right now for two purposes, the first is to audio files and display them in a graph. Second, playback the file. While playing the file, I am showing in the graph via a moving line, the location of the audio that is being
played back. However, this approach suffers from accuracy issues as the playback thread and the graph presentation are different threads and the synchronization is problematic. And causes the playback to sound bad because of the thread thrashing.
This has led me to believe that perhaps, it might be possible to get information for the callback function. In this fashion, I can decide to move the line every couple of calls from the call back.
My questions are:
* Is this possible?
* What sort of data is received from the call back function?
* How often is the callback function called?
* Will doing something between the two calls of callback cause audio distortion in the playback?
On another subject, are there some files with documentation on the software library. I am using NAudio 1.3.
Thanks for the help,