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

Commit 68a0f6b2 authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Android (Google) Code Review
Browse files

Merge "Warn output buffer size not multiple of 16 frames only for mixer threads"

parents f3ea1b47 77cbebd8
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -2600,7 +2600,7 @@ void AudioFlinger::PlaybackThread::readOutputParameters_l()
    LOG_ALWAYS_FATAL_IF(result != OK,
            "Error when retrieving output stream buffer size: %d", result);
    mFrameCount = mBufferSize / mFrameSize;
    if (mFrameCount & 15) {
    if ((mType == MIXER || mType == DUPLICATING) && (mFrameCount & 15)) {
        ALOGW("HAL output buffer size is %zu frames but AudioMixer requires multiples of 16 frames",
                mFrameCount);
    }