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

Commit e4723835 authored by Ray Essick's avatar Ray Essick Committed by android-build-merger
Browse files

force g711 test to match 1-channel sample data am: ae55cbf7 am: 9956aa28

am: eaf3f613

Change-Id: I6b3a4b008cdbd2eda9fe49645dfa4b57cae97801
parents 66581468 eaf3f613
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -547,6 +547,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));