Merge stage-aosp-sc-ts-dev before making it an upstream

Bug: 169893837
Merged-In: I6970e4114a1efacc36e25871b77c5350496a0b2a
Change-Id: I996a73bdcf0574bb961115d80f0065a489fb2a6f
This commit is contained in:
Xin Li 2021-08-12 17:49:09 -07:00
commit 875e721880

View file

@ -1390,6 +1390,9 @@ static void testSetAudioProperties(IStream* stream) {
config.channelMask.value(channelMask);
auto ret = stream->setAudioProperties(config);
EXPECT_TRUE(ret.isOk());
if (ret == Result::NOT_SUPPORTED) {
GTEST_SKIP() << "setAudioProperties is not supported";
}
EXPECT_EQ(Result::OK, ret)
<< profile.format << "; " << sampleRate << "; " << channelMask;
}