summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRamjee Singh <ramjee@codeaurora.org>2015-01-06 17:29:47 +0530
committerArne Coucheron <arco68@gmail.com>2015-02-09 14:15:13 +0100
commitb6caca55f1cdc275324952e029df196b0d245b29 (patch)
tree81c5e9b49ad86d9413955bc4380760e72d608a36
parentf7d1831c30a5657ba2c81934beaa48be2a49abcd (diff)
downloadandroid_hardware_libhardware_legacy-stable/cm-12.0-YNG4N.tar.gz
android_hardware_libhardware_legacy-stable/cm-12.0-YNG4N.tar.bz2
android_hardware_libhardware_legacy-stable/cm-12.0-YNG4N.zip
Change-Id: Ia324f8b40b677c1c182005a7a34aba0f5cc7886c
-rw-r--r--include/hardware_legacy/AudioHardwareInterface.h3
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