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

Commit 84d7e874 authored by Marco Nelissen's avatar Marco Nelissen
Browse files

Fix build

Change-Id: I2d95eb0ce701e3998366f675c86647e1cb3f343c
parent 20cb827a
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -5181,7 +5181,7 @@ void ACodec::sendFormatChange() {

    if (mime == MEDIA_MIMETYPE_AUDIO_RAW && (mEncoderDelay || mEncoderPadding)) {
        int32_t channelCount, sampleRate;
        CHECK(notify->findInt32("channel-count", &channelCount));
        CHECK(mOutputFormat->findInt32("channel-count", &channelCount));
        CHECK(mOutputFormat->findInt32("sample-rate", &sampleRate));
        if (mSampleRate != 0 && sampleRate != 0) {
            mEncoderDelay = mEncoderDelay * sampleRate / mSampleRate;