diff options
author | Eric Laurent <elaurent@google.com> | 2013-07-26 17:16:50 -0700 |
---|---|---|
committer | Eric Laurent <elaurent@google.com> | 2014-03-05 12:17:54 -0800 |
commit | d0115d8c4db2f337030dea706bc0a434c4a03ed6 (patch) | |
tree | 239450c60bc4cb8519edeb8985dbc601fe51c652 /include/media/stagefright | |
parent | 7e92abeafb184e8a34213d7149592e95a72601b0 (diff) | |
download | frameworks_av-d0115d8c4db2f337030dea706bc0a434c4a03ed6.zip frameworks_av-d0115d8c4db2f337030dea706bc0a434c4a03ed6.tar.gz frameworks_av-d0115d8c4db2f337030dea706bc0a434c4a03ed6.tar.bz2 |
update offloaded audio track sampling rate
AudioPlayer must read the sampling rate from offloaded audio sinks
whenever a new time position is computed as the decoder can update
the sampling rate on the fly.
Bug: 12823955.
Change-Id: I997e5248cfd4017aeceb4e11689324ded2a5bc88
Diffstat (limited to 'include/media/stagefright')
-rw-r--r-- | include/media/stagefright/AudioPlayer.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/media/stagefright/AudioPlayer.h b/include/media/stagefright/AudioPlayer.h index 912a43c..14afb85 100644 --- a/include/media/stagefright/AudioPlayer.h +++ b/include/media/stagefright/AudioPlayer.h @@ -129,7 +129,7 @@ private: void reset(); uint32_t getNumFramesPendingPlayout() const; - int64_t getOutputPlayPositionUs_l() const; + int64_t getOutputPlayPositionUs_l(); bool allowDeepBuffering() const { return (mCreateFlags & ALLOW_DEEP_BUFFERING) != 0; } bool useOffload() const { return (mCreateFlags & USE_OFFLOAD) != 0; } |