IAudioFile::RealTimeGet

HRESULT RealTimeGet(WORD *pwRealTime);

Returns the allowed data throughput rate for the audio source or destination.

pwRealTime

[out] Filled with the current real-time value. A value of 0x100 means that data is read/written from/to the wave file at real time, so it takes 1 second to process 1 second of audio recording numbers. Higher numbers indicate that processing is faster than real time. 0x200 causes 1 second of audio to be processed in 0.5 second of time. Of course, this only works if the speech recognition or text-to-speech can perform at such accelerated rates given the speech of the CPU.

· Returns NOERROR if successful, or one of these error values:

E_INVALIDARG