summaryrefslogtreecommitdiff
path: root/drumgizmo/output
diff options
context:
space:
mode:
Diffstat (limited to 'drumgizmo/output')
-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{}