diff options
author | Brendan Early <[email protected]> | 2020-09-28 16:55:10 -0500 |
---|---|---|
committer | Matthew Gregan <[email protected]> | 2020-10-07 11:27:54 +1300 |
commit | 2e842a01f743a734e3720f817c22224af0a80298 (patch) | |
tree | eee874571abb2024244670c6ae798da3df681dc9 /test | |
parent | 082ba33d120d484c4d5e2404dbda69c1f7e6751b (diff) | |
download | cubeb-2e842a01f743a734e3720f817c22224af0a80298.tar.gz cubeb-2e842a01f743a734e3720f817c22224af0a80298.zip |
Add method to change stream name
Diffstat (limited to 'test')
-rw-r--r-- | test/test_sanity.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/test/test_sanity.cpp b/test/test_sanity.cpp index 91ecf9d..e1a60d0 100644 --- a/test/test_sanity.cpp +++ b/test/test_sanity.cpp @@ -227,6 +227,9 @@ TEST(cubeb, configure_stream) r = cubeb_stream_set_volume(stream, 1.0f); ASSERT_TRUE(r == 0 || r == CUBEB_ERROR_NOT_SUPPORTED); + r = cubeb_stream_set_name(stream, "test 2"); + ASSERT_TRUE(r == 0 || r == CUBEB_ERROR_NOT_SUPPORTED); + cubeb_stream_destroy(stream); cubeb_destroy(ctx); } |