aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorPaul Adenot <[email protected]>2020-09-21 18:01:38 +0200
committerPaul Adenot <[email protected]>2020-09-21 19:36:43 +0200
commit660864ede582e27bf56fe4d093ddfe92da8758bf (patch)
treec2f21892a9380ada975245ad7ae84a9285393848
parent9820ea03bf5122350eeb88222f1f81202b30a61b (diff)
downloadcubeb-660864ede582e27bf56fe4d093ddfe92da8758bf.tar.gz
cubeb-660864ede582e27bf56fe4d093ddfe92da8758bf.zip
Address review comments
-rw-r--r--test/test_sanity.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/test/test_sanity.cpp b/test/test_sanity.cpp
index e775227..91ecf9d 100644
--- a/test/test_sanity.cpp
+++ b/test/test_sanity.cpp
@@ -677,6 +677,7 @@ TEST(cubeb, device_reset)
r = cubeb_stream_get_position(stream, &position);
ASSERT_EQ(r, CUBEB_OK);
ASSERT_GE(position, previous_position);
+ previous_position = position;
delay(100);
}
@@ -688,9 +689,11 @@ TEST(cubeb, device_reset)
r = cubeb_stream_get_position(stream, &position);
ASSERT_EQ(r, CUBEB_OK);
ASSERT_GE(position, previous_position);
+ previous_position = position;
delay(100);
}
+ cubeb_stream_stop(stream);
cubeb_stream_destroy(stream);
cubeb_destroy(ctx);
}