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

Commit c0f6769c authored by Automerger Merge Worker's avatar Automerger Merge Worker
Browse files

Merge "Merge "force g711 test to match 1-channel sample data" into...

Merge "Merge "force g711 test to match 1-channel sample data" into android10-tests-dev am: 031f612a" into android11-tests-dev am: 8cce7009

Original change: https://android-review.googlesource.com/c/platform/frameworks/av/+/1138077

Change-Id: Ic62b233665d793aa2c28dde08f5926b01af9e332
parents 76a78a2c 8cce7009
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -465,6 +465,10 @@ TEST_P(Codec2AudioDecDecodeTest, DecodeTest) {
    if (mMime.find("raw") != std::string::npos) {
        bitStreamInfo[0] = 8000;
        bitStreamInfo[1] = 1;
    } else if (mCompName == g711alaw || mCompName == g711mlaw) {
        // g711 test data is all 1-channel and has no embedded config info.
        bitStreamInfo[0] = 8000;
        bitStreamInfo[1] = 1;
    } else {
        ASSERT_NO_FATAL_FAILURE(getInputChannelInfo(mComponent, mMime, bitStreamInfo));
    }