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.

Syntax

interface IAudioClock : public IUnknown  

Remarks

Requirements

Header: Declared in audioclient.h.

Library: Use mmdevapi.lib.

See also

IAudioClock Members