summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEthan Chen <intervigil@gmail.com>2015-03-26 22:16:46 -0700
committerEthan Chen <intervigil@gmail.com>2015-10-26 11:10:14 -0700
commit1726a291a0f27e2df7fd7fdb9be8cdcd5ea9bdb3 (patch)
treea95097058d779feaa13fe18fbb55f913c945dbc2
parent4cb0905dec737bcd366ad245bd647f4cf90eadd7 (diff)
downloadhardware_libhardware_legacy-1726a291a0f27e2df7fd7fdb9be8cdcd5ea9bdb3.zip
hardware_libhardware_legacy-1726a291a0f27e2df7fd7fdb9be8cdcd5ea9bdb3.tar.gz
hardware_libhardware_legacy-1726a291a0f27e2df7fd7fdb9be8cdcd5ea9bdb3.tar.bz2
audio: Make getPresentationPosition pure virtual
* Allows compilation of libaudiohw_legacy static library Change-Id: I84c9ccb6cb3a6c744f83380cfe8c33ad5142eacf
-rw-r--r--include/hardware_legacy/AudioHardwareInterface.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/hardware_legacy/AudioHardwareInterface.h b/include/hardware_legacy/AudioHardwareInterface.h
index 6328063..b08fece 100644
--- a/include/hardware_legacy/AudioHardwareInterface.h
+++ b/include/hardware_legacy/AudioHardwareInterface.h
@@ -120,7 +120,7 @@ public:
/**
* Return a recent count of the number of audio frames presented to an external observer.
*/
- virtual status_t getPresentationPosition(uint64_t *frames, struct timespec *timestamp);
+ virtual status_t getPresentationPosition(uint64_t *frames, struct timespec *timestamp) = 0;
};