mirror of
https://github.com/Evolution-X/hardware_interfaces
synced 2026-02-01 16:09:42 +00:00
Audio VTS: Do not constrain implementation frameCount
am: 069bc45044
Change-Id: I3ec1df7f581e5b11e0d394139c1421109c16fc19
This commit is contained in:
@@ -661,8 +661,8 @@ static R extract(Return<R> ret) {
|
|||||||
code; \
|
code; \
|
||||||
}
|
}
|
||||||
|
|
||||||
TEST_IO_STREAM(GetFrameCount, "Check that the stream frame count == the one it was opened with",
|
TEST_IO_STREAM(GetFrameCount, "Check that getting stream frame count does not crash the HAL.",
|
||||||
ASSERT_EQ(audioConfig.frameCount, extract(stream->getFrameCount())))
|
ASSERT_TRUE(stream->getFrameCount().isOk()))
|
||||||
|
|
||||||
TEST_IO_STREAM(GetSampleRate, "Check that the stream sample rate == the one it was opened with",
|
TEST_IO_STREAM(GetSampleRate, "Check that the stream sample rate == the one it was opened with",
|
||||||
ASSERT_EQ(audioConfig.sampleRateHz, extract(stream->getSampleRate())))
|
ASSERT_EQ(audioConfig.sampleRateHz, extract(stream->getSampleRate())))
|
||||||
|
|||||||
@@ -823,8 +823,8 @@ static R extract(Return<R> ret) {
|
|||||||
code; \
|
code; \
|
||||||
}
|
}
|
||||||
|
|
||||||
TEST_IO_STREAM(GetFrameCount, "Check that the stream frame count == the one it was opened with",
|
TEST_IO_STREAM(GetFrameCount, "Check that getting stream frame count does not crash the HAL.",
|
||||||
ASSERT_EQ(audioConfig.frameCount, extract(stream->getFrameCount())))
|
ASSERT_TRUE(stream->getFrameCount().isOk()))
|
||||||
|
|
||||||
TEST_IO_STREAM(GetSampleRate, "Check that the stream sample rate == the one it was opened with",
|
TEST_IO_STREAM(GetSampleRate, "Check that the stream sample rate == the one it was opened with",
|
||||||
ASSERT_EQ(audioConfig.sampleRateHz, extract(stream->getSampleRate())))
|
ASSERT_EQ(audioConfig.sampleRateHz, extract(stream->getSampleRate())))
|
||||||
|
|||||||
Reference in New Issue
Block a user