summaryrefslogtreecommitdiff
path: root/drumgizmo
diff options
context:
space:
mode:
authorBent Bisballe Nyeng <deva@aasimon.org>2019-06-16 10:47:33 +0200
committerBent Bisballe Nyeng <deva@aasimon.org>2019-06-16 10:47:33 +0200
commit25b398ea000b5529084d985bd14ed066a81578d3 (patch)
tree301d8eef0b212d60f5f5939d088f2492b5c1b3f0 /drumgizmo
parent37c2ec6edd2294a31561b4cd46ded6a2b4f74e22 (diff)
Make max channnel count controllable through the configure script to make it possible to exceed the default 16.
Diffstat (limited to 'drumgizmo')
-rw-r--r--drumgizmo/output/oss.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/drumgizmo/output/oss.cc b/drumgizmo/output/oss.cc
index 80d8d2b..cb0b896 100644
--- a/drumgizmo/output/oss.cc
+++ b/drumgizmo/output/oss.cc
@@ -31,10 +31,11 @@
#include <unistd.h>
#include <iostream>
+#include <config.h>
OSSOutputEngine::OSSOutputEngine()
: dev{"/dev/dsp"}
- , num_channels{16}
+ , num_channels{NUM_CHANNELS}
, srate{44100}
, format{AFMT_S32_NE}
, data{}