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

Commit cff68138 authored by Kevin Rocard's avatar Kevin Rocard
Browse files

Audio V4: fix invalid SupportedChannelMasks test



Test was calling getSupportedSamplingRate instead of channel mask.

Bug: 77307068
Test: atest VtsHalAudioV4_0TargetTest
Change-Id: Ib6e9d017793edfc95853cab0c2955b8c801bc66f
Signed-off-by: default avatarKevin Rocard <krocard@google.com>
parent dea4c380
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -758,7 +758,7 @@ Result getSupportedChannelMasks(IStream* stream,
                                hidl_vec<hidl_bitfield<AudioChannelMask>>& channels) {
    Result res;
    EXPECT_OK(
        stream->getSupportedSampleRates(extract(stream->getFormat()), returnIn(res, channels)));
        stream->getSupportedChannelMasks(extract(stream->getFormat()), returnIn(res, channels)));
    return res;
}