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

Commit 37846043 authored by Guang Zhu's avatar Guang Zhu Committed by Automerger Merge Worker
Browse files

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

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

Change-Id: I87f6fc97c08f29e08c0a87de7a4ccc18d6b95857
parents f14a33fa 031f612a
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -539,6 +539,10 @@ TEST_P(Codec2AudioDecDecodeTest, DecodeTest) {
    if (mCompName == raw) {
        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, mCompName, bitStreamInfo));
    }