force g711 test to match 1-channel sample data am: ae55cbf717 am: 9956aa2874

am: 0438ed903f

Change-Id: I7d2dd9ad5721dcd9cd9eee4612a3d3c20fe50368
gugelfrei
Ray Essick 5 years ago committed by android-build-merger
commit 8ebd097b82

@ -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));

Loading…
Cancel
Save