diff options
-rw-r--r-- | include/hardware_legacy/AudioHardwareInterface.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/hardware_legacy/AudioHardwareInterface.h b/include/hardware_legacy/AudioHardwareInterface.h index 9333160..493725c 100644 --- a/include/hardware_legacy/AudioHardwareInterface.h +++ b/include/hardware_legacy/AudioHardwareInterface.h @@ -112,6 +112,9 @@ public: // return the number of audio frames written by the audio dsp to DAC since // the output has exited standby virtual status_t getRenderPosition(uint32_t *dspFrames) = 0; +#ifdef QCOM_DIRECTTRACK + virtual status_t getPresentationPosition(uint64_t *frames, struct timespec *timestamp) = 0; +#endif /** * get the local time at which the next write to the audio driver will be |