diff options
author | Andy Hung <hunga@google.com> | 2015-05-31 22:49:46 -0700 |
---|---|---|
committer | Andy Hung <hunga@google.com> | 2015-06-03 22:26:44 -0700 |
commit | 179652ee2a508361df1aa18e99000373886f0816 (patch) | |
tree | cab9a40399ab43231c8a9b9fc00985b2efaf600c /include | |
parent | a7f03353d5f172016f324e2a01f301cca6794152 (diff) | |
download | frameworks_av-179652ee2a508361df1aa18e99000373886f0816.zip frameworks_av-179652ee2a508361df1aa18e99000373886f0816.tar.gz frameworks_av-179652ee2a508361df1aa18e99000373886f0816.tar.bz2 |
NuPlayer: Add audio sink buffer configuration
Property media.stagefright.audio.sink (in milliseconds)
Also change the default buffer size for PCM playback to 500 ms.
Bug: 21198655
Change-Id: I5781288f59bf08fbecd9263a26c919570b58be0f
Diffstat (limited to 'include')
-rw-r--r-- | include/media/MediaPlayerInterface.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/media/MediaPlayerInterface.h b/include/media/MediaPlayerInterface.h index 46f900e..de82554 100644 --- a/include/media/MediaPlayerInterface.h +++ b/include/media/MediaPlayerInterface.h @@ -114,7 +114,8 @@ public: void *cookie = NULL, audio_output_flags_t flags = AUDIO_OUTPUT_FLAG_NONE, const audio_offload_info_t *offloadInfo = NULL, - bool doNotReconnect = false) = 0; + bool doNotReconnect = false, + uint32_t suggestedFrameCount = 0) = 0; virtual status_t start() = 0; |