aboutsummaryrefslogtreecommitdiff
path: root/tests/src/pcm_in_test.cc
diff options
context:
space:
mode:
authordvdli <dvdli@google.com>2020-12-02 15:20:20 +0800
committerdvdli <dvdli@google.com>2020-12-02 15:20:20 +0800
commit69d41f144ad82d652f148c303a168cd07d222d41 (patch)
tree8e902ae95c75c7a83428db4f16f4224c1ce2442b /tests/src/pcm_in_test.cc
parentee672bb4b3919ba8e411ca5bba95e22b288f2831 (diff)
fix typo, add comments to describe the tests and fix the loopback test
Diffstat (limited to 'tests/src/pcm_in_test.cc')
-rw-r--r--tests/src/pcm_in_test.cc4
1 files changed, 2 insertions, 2 deletions
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