diff options
author | Glenn Kasten <gkasten@google.com> | 2015-10-14 01:11:07 +0000 |
---|---|---|
committer | Android (Google) Code Review <android-gerrit@google.com> | 2015-10-14 01:11:07 +0000 |
commit | 8fa0848cd47882d6df0c584b276515f98b768eca (patch) | |
tree | 4d86c411c2d8e8fed10dfd9a0723e6b4189d9b25 /services/audioflinger/Tracks.cpp | |
parent | ce805c2a0c447dcdd4e649db7415020dbec1100b (diff) | |
parent | 954ca45ac30539a49f179580b667b0ab1056d113 (diff) | |
download | frameworks_av-8fa0848cd47882d6df0c584b276515f98b768eca.zip frameworks_av-8fa0848cd47882d6df0c584b276515f98b768eca.tar.gz frameworks_av-8fa0848cd47882d6df0c584b276515f98b768eca.tar.bz2 |
Merge "For static obtainBuffer(), do not set mUnreleased if acknowledging flush." into mnc-dr-dev
Diffstat (limited to 'services/audioflinger/Tracks.cpp')
-rw-r--r-- | services/audioflinger/Tracks.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/services/audioflinger/Tracks.cpp b/services/audioflinger/Tracks.cpp index b3fac0b..0e24b52 100644 --- a/services/audioflinger/Tracks.cpp +++ b/services/audioflinger/Tracks.cpp @@ -715,6 +715,7 @@ status_t AudioFlinger::PlaybackThread::Track::start(AudioSystem::sync_event_t ev // But in this case we know the mixer thread (whether normal mixer or fast mixer) // isn't looking at this track yet: we still hold the normal mixer thread lock, // and for fast tracks the track is not yet in the fast mixer thread's active set. + // For static tracks, this is used to acknowledge change in position or loop. ServerProxy::Buffer buffer; buffer.mFrameCount = 1; (void) mAudioTrackServerProxy->obtainBuffer(&buffer, true /*ackFlush*/); |