Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 6cb5e64f authored by Glenn Kasten's avatar Glenn Kasten
Browse files

Fix bug where mMixerStatus was set to IDLE

Change-Id: I55df1738fb7ba17ba6caeea6a17557526eac17a7
parent bdc5afee
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -1463,7 +1463,7 @@ AudioFlinger::PlaybackThread::PlaybackThread(const sp<AudioFlinger>& 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);