From aa4397f07c43bd83bc3100b749401dc3d15e7622 Mon Sep 17 00:00:00 2001 From: Glenn Kasten Date: Mon, 12 Mar 2012 18:13:59 -0700 Subject: Fix bug where mMixerStatus was set to IDLE Change-Id: I55df1738fb7ba17ba6caeea6a17557526eac17a7 --- services/audioflinger/AudioFlinger.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'services') diff --git a/services/audioflinger/AudioFlinger.cpp b/services/audioflinger/AudioFlinger.cpp index d537a20..81b9464 100644 --- a/services/audioflinger/AudioFlinger.cpp +++ b/services/audioflinger/AudioFlinger.cpp @@ -1463,7 +1463,7 @@ AudioFlinger::PlaybackThread::PlaybackThread(const sp& audioFlinge // but it would be safer to explicitly pass initial masterVolume as parameter mMasterVolume(audioFlinger->masterVolumeSW_l()), mLastWriteTime(0), mNumWrites(0), mNumDelayedWrites(0), mInWrite(false), - // mMixerStatus + mMixerStatus(MIXER_IDLE), mPrevMixerStatus(MIXER_IDLE), standbyDelay(AudioFlinger::mStandbyTimeInNsecs) { @@ -2031,7 +2031,6 @@ if (mType == MIXER) { processConfigEvents(); - mMixerStatus = MIXER_IDLE; { // scope for mLock Mutex::Autolock _l(mLock); -- cgit v1.1