diff options
author | Alex Chronopoulos <[email protected]> | 2018-10-18 16:57:01 +0200 |
---|---|---|
committer | GitHub <[email protected]> | 2018-10-18 16:57:01 +0200 |
commit | 5066cfcf4285e44e5e0f7ba8fe3fa4d5d734e2b2 (patch) | |
tree | 0c0f1076386cf809d76d125b6121f8426b23a6d0 /test/test_devices.cpp | |
parent | d4b8c31cfd0a1de95f3925c5d88612baa41a2590 (diff) | |
download | cubeb-5066cfcf4285e44e5e0f7ba8fe3fa4d5d734e2b2.tar.gz cubeb-5066cfcf4285e44e5e0f7ba8fe3fa4d5d734e2b2.zip |
tests: check correctly the audio buffer values range (BMO 1484541). (#461)
* tests: check correctly the audio buffer values range (BMO 1484541).
* tests: create a comfortable way to enable logs in tests
* duplex test: check audio range correctly and change the input channel to stereo to avoid AD mixer (BMO 1484541).
* test_duplex: Revert back input channel to mono
Diffstat (limited to 'test/test_devices.cpp')
-rw-r--r-- | test/test_devices.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/test/test_devices.cpp b/test/test_devices.cpp index f9df89f..73af3c1 100644 --- a/test/test_devices.cpp +++ b/test/test_devices.cpp @@ -13,6 +13,9 @@ #include <string.h> #include <memory> #include "cubeb/cubeb.h" + +//#define ENABLE_NORMAL_LOG +//#define ENABLE_VERBOSE_LOG #include "common.h" long data_cb_duplex(cubeb_stream * stream, void * user, const void * inputbuffer, void * outputbuffer, long nframes) |