mirror of
https://github.com/Evolution-X/hardware_interfaces
synced 2026-02-01 16:50:18 +00:00
audio: Allow SetAudioProperties to not be supported am: de829572f9 am: 4f21be2965 am: 2950416a76
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1762588 Change-Id: Ice1083c4c6e5f5f924880f3464d961b5687fc2d2
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user