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

Commit 4f62e23d authored by Kevin Rocard's avatar Kevin Rocard Committed by android-build-merger
Browse files

Audio VTS: Do not constrain implementation frameCount am: 069bc450 am: b86e2855

am: e029bd11

Change-Id: Ia2c98e461ee7a39ef56e0f1b6e2dd85c446b6216
parents 4985fa47 e029bd11
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -661,8 +661,8 @@ static R extract(Return<R> ret) {
        code;                                          \
    }

TEST_IO_STREAM(GetFrameCount, "Check that the stream frame count == the one it was opened with",
               ASSERT_EQ(audioConfig.frameCount, extract(stream->getFrameCount())))
TEST_IO_STREAM(GetFrameCount, "Check that getting stream frame count does not crash the HAL.",
               ASSERT_TRUE(stream->getFrameCount().isOk()))

TEST_IO_STREAM(GetSampleRate, "Check that the stream sample rate == the one it was opened with",
               ASSERT_EQ(audioConfig.sampleRateHz, extract(stream->getSampleRate())))
+2 −2
Original line number Diff line number Diff line
@@ -823,8 +823,8 @@ static R extract(Return<R> ret) {
        code;                                          \
    }

TEST_IO_STREAM(GetFrameCount, "Check that the stream frame count == the one it was opened with",
               ASSERT_EQ(audioConfig.frameCount, extract(stream->getFrameCount())))
TEST_IO_STREAM(GetFrameCount, "Check that getting stream frame count does not crash the HAL.",
               ASSERT_TRUE(stream->getFrameCount().isOk()))

TEST_IO_STREAM(GetSampleRate, "Check that the stream sample rate == the one it was opened with",
               ASSERT_EQ(audioConfig.sampleRateHz, extract(stream->getSampleRate())))