Compartilhar via


IAudioClock Interface

Previous Next

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.

IAudioClock inherits from the IUnknown interface. In addition to the methods inherited from IUnknown, IAudioClock supports the following methods.

Method Description
GetCharacteristics Reserved for future use.
GetFrequency Gets the device frequency.
GetPosition Gets the current position in the stream.

Requirements

Client: Windows Vista

Header: Include Audioclient.h.

See Also

Previous Next