Windows Dev Center

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.

Members

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

Methods

The IAudioClock interface has these methods.

MethodDescription
GetCharacteristics

Reserved for future use.

GetFrequency

Gets the device frequency.

GetPosition

Gets the current position in the stream.

 

Remarks

Windows Phone 8: This API is supported.

Requirements

Minimum supported client

Windows Vista [desktop apps | Windows Store apps]

Minimum supported server

Windows Server 2008 [desktop apps | Windows Store apps]

Header

Audioclient.h

See also

IAudioClient::GetService
WASAPI

 

 

Community Additions

ADD
Show:
© 2015 Microsoft