IAudioClock interface (audioclient.h)

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.

Inheritance

The IAudioClock interface inherits from the IUnknown interface. IAudioClock also has these types of members:

Methods

The IAudioClock interface has these methods.

 
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.

Requirements

Requirement Value
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

IAudioClient::GetService

WASAPI