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

Commit 68918105 authored by Dean Wheatley's avatar Dean Wheatley Committed by Andy Hung
Browse files

Remove unneccessary a2dpDeviceChanged variable

Change-Id: Icd01c11029c89f55244c1f2556fa8d136e5ea634
parent 5e6c032e
Loading
Loading
Loading
Loading
+2 −6
Original line number Original line Diff line number Diff line
@@ -5552,8 +5552,6 @@ bool AudioFlinger::MixerThread::checkForNewParameter_l(const String8& keyValuePa
                                                       status_t& status)
                                                       status_t& status)
{
{
    bool reconfig = false;
    bool reconfig = false;
    bool a2dpDeviceChanged = false;

    status = NO_ERROR;
    status = NO_ERROR;


    AutoPark<FastMixer> park(mFastMixer);
    AutoPark<FastMixer> park(mFastMixer);
@@ -5625,7 +5623,7 @@ bool AudioFlinger::MixerThread::checkForNewParameter_l(const String8& keyValuePa
        }
        }
    }
    }


    return reconfig || a2dpDeviceChanged;
    return reconfig;
}
}




@@ -6086,8 +6084,6 @@ bool AudioFlinger::DirectOutputThread::checkForNewParameter_l(const String8& key
                                                              status_t& status)
                                                              status_t& status)
{
{
    bool reconfig = false;
    bool reconfig = false;
    bool a2dpDeviceChanged = false;

    status = NO_ERROR;
    status = NO_ERROR;


    AudioParameter param = AudioParameter(keyValuePair);
    AudioParameter param = AudioParameter(keyValuePair);
@@ -6122,7 +6118,7 @@ bool AudioFlinger::DirectOutputThread::checkForNewParameter_l(const String8& key
        }
        }
    }
    }


    return reconfig || a2dpDeviceChanged;
    return reconfig;
}
}


uint32_t AudioFlinger::DirectOutputThread::activeSleepTimeUs() const
uint32_t AudioFlinger::DirectOutputThread::activeSleepTimeUs() const