This project has moved. For the latest updates, please go here.

WASAPI recording basics

Nov 15, 2016 at 4:59 PM
Hi,
I am new to NAudio as well as WASAPI. I was looking for some more details about the IAudioCaptureClient, e.g. when will the GetNextPacketSize will return 0?
I have also posted a question on stackoverflow (http://stackoverflow.com/questions/40586895/when-does-wasapi-getnextpacketsize-return-0).

Also why the WaveFileWriter doesnt implement the Seek method?
Coordinator
Nov 18, 2016 at 8:54 AM
You've got a good answer to your first question on StackOverflow
For the second question, WaveFileWriter is intended to create new WAV files, so there is no need to seek.
Nov 21, 2016 at 4:25 AM
In case one is making a recording app, one use case scenario can be that the user may want to record then seek back (reverse) and overwrite a part which he wants to be corrected. This may require seek in the WaveFileWriter.