Getting Audio Time

Aug 5 at 10:17 PM
I am looking at the source code, and trying to find a way to keep track of the Audio Time.
Not Duration but actual device timer.
pu64DevicePosition [out]

That most likely.

Pretty much what this application those:
Aug 6 at 10:56 AM
yes, this is supported in NAudio. Have a look at the GetPosition method on the IWavePosition interface which is inplemented by WasapiOut. However, I did some recent fixes to IAudioClockClient, so you might find it best if you build from the latest source.
Aug 7 at 3:56 PM
Looked at it.

Hmm, trying to find a way to use it to add silence when recording if it's skipping stuff.
Normally use StopWatch, but as it's going by the PC clock it's not correct.

I would have to have it check each WaveInEvent, any ideas?
Aug 11 at 2:32 PM
Edited Aug 11 at 2:46 PM
The GetPosition is only implemented for Output correct?
So it's no use when recording, except if it's the same device perhaps.

Also this error persists:
Aug 31 at 12:18 AM
Okay it worked in the latest source as you suggested.

Do you have any idea how to compare the DevicePosition to the PC QPC?
trying to figure that out, as DevicePosition is supposed to be the SoundCards QPC.