aboutsummaryrefslogtreecommitdiffhomepage
path: root/test/test_loopback.cpp
diff options
context:
space:
mode:
authorAlex Chronopoulos <[email protected]>2018-10-18 16:57:01 +0200
committerGitHub <[email protected]>2018-10-18 16:57:01 +0200
commit5066cfcf4285e44e5e0f7ba8fe3fa4d5d734e2b2 (patch)
tree0c0f1076386cf809d76d125b6121f8426b23a6d0 /test/test_loopback.cpp
parentd4b8c31cfd0a1de95f3925c5d88612baa41a2590 (diff)
downloadcubeb-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_loopback.cpp')
-rw-r--r--test/test_loopback.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/test/test_loopback.cpp b/test/test_loopback.cpp
index 260eb31..2c600ee 100644
--- a/test/test_loopback.cpp
+++ b/test/test_loopback.cpp
@@ -20,8 +20,9 @@
#include <mutex>
#include <string>
#include "cubeb/cubeb.h"
+//#define ENABLE_NORMAL_LOG
+//#define ENABLE_VERBOSE_LOG
#include "common.h"
-
const uint32_t SAMPLE_FREQUENCY = 48000;
const uint32_t TONE_FREQUENCY = 440;
const double OUTPUT_AMPLITUDE = 0.25;