summaryrefslogtreecommitdiffstats
path: root/media/libavextensions
diff options
context:
space:
mode:
authorAlexy Joseph <alexyj@codeaurora.org>2015-11-15 23:52:02 -0800
committerAlexy Joseph <alexyj@codeaurora.org>2015-11-15 23:52:02 -0800
commitdfbec4717a42eb5f231799589ddd593af9ab3ec1 (patch)
tree35bc9c0d175657029f80d55c1a5d3fecacbff484 /media/libavextensions
parent36a5d0626d308c7dd04a6e0c8aa06a91d2398d3e (diff)
downloadframeworks_av-dfbec4717a42eb5f231799589ddd593af9ab3ec1.zip
frameworks_av-dfbec4717a42eb5f231799589ddd593af9ab3ec1.tar.gz
frameworks_av-dfbec4717a42eb5f231799589ddd593af9ab3ec1.tar.bz2
AudioTrack: Handle timestamp queries for Track Offload
Handle timestamp queries for Track offload session cleanly Change-Id: I93759c0e186e4286037837787057960ee52875d7 CRs-Fixed: 933740
Diffstat (limited to 'media/libavextensions')
-rw-r--r--media/libavextensions/media/AVMediaExtensions.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/media/libavextensions/media/AVMediaExtensions.h b/media/libavextensions/media/AVMediaExtensions.h
index ae26143..9161fae 100644
--- a/media/libavextensions/media/AVMediaExtensions.h
+++ b/media/libavextensions/media/AVMediaExtensions.h
@@ -60,6 +60,10 @@ struct AVMediaUtils {
return frameCount;
}
+ virtual bool AudioTrackIsTrackOffloaded(audio_io_handle_t /*output*/) {
+ return false;
+ }
+
virtual sp<MediaRecorder> createMediaRecorder(const String16& opPackageName);
virtual void writeCustomData(
Parcel * /* reply */, void * /* buffer_data */) {}