IAudioClock interface

The IAudioClock interface enables a client to monitor a stream's data rate and the current position in the stream. The client obtains a reference to the IAudioClock interface of a stream object by calling the IAudioClient::GetService method with parameter riid set to REFIID IID_IAudioClock.

When releasing an IAudioClock interface instance, the client must call the interface's Release method from the same thread as the call to IAudioClient::GetService that created the object.


The IAudioClock interface has these methods.

Method Description
IAudioClock::GetCharacteristics The GetCharacteristics method is reserved for future use.
IAudioClock::GetFrequency The GetFrequency method gets the device frequency.
IAudioClock::GetPosition The GetPosition method gets the current device position.


Minimum supported client Windows Vista [desktop apps | UWP apps]
Minimum supported server Windows Server 2008 [desktop apps | UWP apps]
Target Platform Windows
Header audioclient.h

See Also

Core Audio Interfaces