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_audio.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_audio.cpp')
-rw-r--r-- | test/test_audio.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/test/test_audio.cpp b/test/test_audio.cpp index 2e6c34a..98ba197 100644 --- a/test/test_audio.cpp +++ b/test/test_audio.cpp @@ -17,9 +17,12 @@ #include <memory> #include <string.h> #include "cubeb/cubeb.h" -#include "common.h" #include <string> +//#define ENABLE_NORMAL_LOG +//#define ENABLE_VERBOSE_LOG +#include "common.h" + using namespace std; #define MAX_NUM_CHANNELS 32 |