From 69d41f144ad82d652f148c303a168cd07d222d41 Mon Sep 17 00:00:00 2001 From: dvdli Date: Wed, 2 Dec 2020 15:20:20 +0800 Subject: fix typo, add comments to describe the tests and fix the loopback test --- tests/src/pcm_in_test.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tests/src/pcm_in_test.cc') diff --git a/tests/src/pcm_in_test.cc b/tests/src/pcm_in_test.cc index 719e4ca..e912abb 100644 --- a/tests/src/pcm_in_test.cc +++ b/tests/src/pcm_in_test.cc @@ -72,7 +72,7 @@ class PcmInTest : public ::testing::Test { pcm* pcm_object; }; -TEST_F(PcmInTest, GetDealy) { +TEST_F(PcmInTest, GetDelay) { long delay = pcm_get_delay(pcm_object); std::cout << delay << std::endl; ASSERT_GE(delay, 0); @@ -111,4 +111,4 @@ TEST_F(PcmInTest, Writei) { } } // namespace testing -} // namespace tinyalse +} // namespace tinyalsa -- cgit v1.2.3