[wdmaudiodev] Timestamp source for KSAUDIO_POSITIONEX

  • From: Eugene Muzychenko <eugene@xxxxxxxxxxxxxx>
  • To: wdmaudiodev@xxxxxxxxxxxxx
  • Date: Tue, 8 Jan 2013 13:38:12 +0700

Hello!

MSDN docs say that KSAUDIO_POSITIONEX descriptor used in
KSPROPERTY_AUDIO_POSITIONEX property request should be filled with
timestamp values but say nothing about timestamp source requirements
(for example, counter frequency and/or resolution).

KSPROPERTY_AUDIO_POSITIONEX request is issued by Windows audio engine
during processing IAudioCaptureClient::GetBuffer and
IAudioClock::GetPosition. For these methods, it is explicitly said
that QueryPerformanceCounter is used.

Does it mean that a developer that uses WASAPI can suppose that all
timestamps are generated by QueryPerformanceCounter and each audio
filter must use KeQueryPerformanceCounter to fill KSAUDIO_POSITIONEX
fields?

Regards,
Eugene

******************

WDMAUDIODEV addresses:
Post message: mailto:wdmaudiodev@xxxxxxxxxxxxx
Subscribe:    mailto:wdmaudiodev-request@xxxxxxxxxxxxx?subject=subscribe
Unsubscribe:  mailto:wdmaudiodev-request@xxxxxxxxxxxxx?subject=unsubscribe
Moderator:    mailto:wdmaudiodev-moderators@xxxxxxxxxxxxx

URL to WDMAUDIODEV page:
http://www.wdmaudiodev.com/

Other related posts: