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

Commit b91aa637 authored by Glenn Kasten's avatar Glenn Kasten
Browse files

Move local declarations to point of first use

Change-Id: I8a078386e371caab5174fc07b47f48fb9f21609a
parent d21952fe
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -4400,8 +4400,6 @@ void AudioFlinger::RecordThread::onFirstRef()

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

    nsecs_t lastWarning = 0;

    inputStandBy();
@@ -4511,6 +4509,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) {