The KSPROPERTY_AUDIO_POSITION property specifies the current positions of the read and write cursors in the sound buffer for the pin's audio stream.
| Get | Set | Target | Property Descriptor Type | Property Value Type |
|---|---|---|---|---|
| Yes | Yes | Pin | KSPROPERTY | KSAUDIO_POSITION |
The property value (operation data) is a structure of type KSAUDIO_POSITION that specifies the sound buffer's read and write positions.
A KSPROPERTY_AUDIO_POSITION property request returns STATUS_SUCCESS to indicate that it has completed successfully. Otherwise, the request returns an appropriate error status code.
Declared in ksmedia.h. Include ksmedia.h.