diff options
author | Ramjee Singh <ramjee@codeaurora.org> | 2015-01-06 17:29:47 +0530 |
---|---|---|
committer | Arne Coucheron <arco68@gmail.com> | 2015-02-09 14:15:13 +0100 |
commit | b6caca55f1cdc275324952e029df196b0d245b29 (patch) | |
tree | 81c5e9b49ad86d9413955bc4380760e72d608a36 | |
parent | f7d1831c30a5657ba2c81934beaa48be2a49abcd (diff) | |
download | android_hardware_libhardware_legacy-stable/cm-12.0-YNG1T.tar.gz android_hardware_libhardware_legacy-stable/cm-12.0-YNG1T.tar.bz2 android_hardware_libhardware_legacy-stable/cm-12.0-YNG1T.zip |
audio: Add getPresentationPosition for AudioStreamOutstable/cm-12.0-YNG4Nstable/cm-12.0-YNG3Cstable/cm-12.0-YNG1TAstable/cm-12.0-YNG1Tstable/cm-12.0-YNG1Icm-12.0
Change-Id: Ia324f8b40b677c1c182005a7a34aba0f5cc7886c
-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 |