summaryrefslogtreecommitdiffstats
path: root/libs
diff options
context:
space:
mode:
authorEric Laurent <elaurent@google.com>2009-08-10 02:41:54 -0700
committerEric Laurent <elaurent@google.com>2009-08-11 09:07:44 -0700
commit33bb0c9f2acaa4300e962f9039e08bffc735ab8e (patch)
tree3f7d9200735de96f6aa369abc9e099ed868138ce /libs
parent44224695dee47a4e5ccd38e8afae68e346811321 (diff)
downloadframeworks_base-33bb0c9f2acaa4300e962f9039e08bffc735ab8e.zip
frameworks_base-33bb0c9f2acaa4300e962f9039e08bffc735ab8e.tar.gz
frameworks_base-33bb0c9f2acaa4300e962f9039e08bffc735ab8e.tar.bz2
Fix issue 2043314: Recorded audio is choppy.
Fixed cut/paste error causing constant reset of current frame index in input buffer.
Diffstat (limited to 'libs')
-rw-r--r--libs/audioflinger/AudioFlinger.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/audioflinger/AudioFlinger.cpp b/libs/audioflinger/AudioFlinger.cpp
index 2e947d6..fab75ef 100644
--- a/libs/audioflinger/AudioFlinger.cpp
+++ b/libs/audioflinger/AudioFlinger.cpp
@@ -2908,7 +2908,7 @@ bool AudioFlinger::RecordThread::threadLoop()
if (mReqChannelCount != mActiveTrack->channelCount()) {
mActiveTrack.clear();
} else {
- mActiveTrack->mState == TrackBase::ACTIVE;
+ mActiveTrack->mState = TrackBase::ACTIVE;
}
mStartStopCond.broadcast();
}