uint16 GetAudioFrameCount (void)
It can be used as a measure of audio time more precise than GetAudioTime()
.
NewFrameCount = GetAudioFrameCount();
ElapsedFrames = (NewFrameCount - OldFrameCount) & OxFFFF;
OldFrameCount = NewFrameCount;
GetAudioFrameCount()
must be called at least once every 65536
(i.e. 2**16)
sample frames to avoid wrap around of the 16-bit value. Call at least every second to be safe.
GetAudioCyclesUsed
()