From 25b398ea000b5529084d985bd14ed066a81578d3 Mon Sep 17 00:00:00 2001 From: Bent Bisballe Nyeng Date: Sun, 16 Jun 2019 10:47:33 +0200 Subject: Make max channnel count controllable through the configure script to make it possible to exceed the default 16. --- drumgizmo/output/oss.cc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'drumgizmo') 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 #include +#include OSSOutputEngine::OSSOutputEngine() : dev{"/dev/dsp"} - , num_channels{16} + , num_channels{NUM_CHANNELS} , srate{44100} , format{AFMT_S32_NE} , data{} -- cgit v1.2.3