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

Commit 0699ed95 authored by Glenn Kasten's avatar Glenn Kasten Committed by Android (Google) Code Review
Browse files

Merge "Move local declarations to point of first use"

parents 44f412a8 b91aa637
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -4407,8 +4407,6 @@ void AudioFlinger::RecordThread::onFirstRef()

bool AudioFlinger::RecordThread::threadLoop()
{
    AudioBufferProvider::Buffer buffer;

    nsecs_t lastWarning = 0;

    inputStandBy();
@@ -4518,6 +4516,7 @@ bool AudioFlinger::RecordThread::threadLoop()
            effectChains[i]->process_l();
        }

        AudioBufferProvider::Buffer buffer;
        buffer.frameCount = mFrameCount;
        status_t status = activeTrack->getNextBuffer(&buffer);
        if (status == NO_ERROR) {