aboutsummaryrefslogtreecommitdiffhomepage
path: root/test/test_tone.cpp
diff options
context:
space:
mode:
authorChun-Min Chang <[email protected]>2016-12-21 13:18:07 +0800
committerMatthew Gregan <[email protected]>2016-12-20 19:18:07 -1000
commita900d6e511c3286956c38ca60162790ca6e8e18d (patch)
tree12969af1e27b0d0d127127a60d770b52100f76fb /test/test_tone.cpp
parentc1e1e45dee4367c6f839b903417998049ad1baeb (diff)
downloadcubeb-a900d6e511c3286956c38ca60162790ca6e8e18d.tar.gz
cubeb-a900d6e511c3286956c38ca60162790ca6e8e18d.zip
Support multiple channels on Windows (#171)
* Multiple channel support on Windows * Move up/down mixing code from cubeb_wasapi.cpp to standalone cubeb_mixer.cpp
Diffstat (limited to 'test/test_tone.cpp')
-rw-r--r--test/test_tone.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/test_tone.cpp b/test/test_tone.cpp
index 8ad0a26..12e64bb 100644
--- a/test/test_tone.cpp
+++ b/test/test_tone.cpp
@@ -110,6 +110,7 @@ TEST(cubeb, tone)
params.format = STREAM_FORMAT;
params.rate = SAMPLE_FREQUENCY;
params.channels = 1;
+ params.layout = CUBEB_LAYOUT_MONO;
user_data = (struct cb_user_data *) malloc(sizeof(*user_data));
if (user_data == NULL) {