diff --git a/src/output/plugins/OpenALOutputPlugin.cxx b/src/output/plugins/OpenALOutputPlugin.cxx index 6ed3682b9..c28250eb0 100644 --- a/src/output/plugins/OpenALOutputPlugin.cxx +++ b/src/output/plugins/OpenALOutputPlugin.cxx @@ -34,12 +34,12 @@ #include #endif -/* should be enough for buffer size = 2048 */ -#define NUM_BUFFERS 16 - class OpenALOutput { friend struct AudioOutputWrapper; + /* should be enough for buffer size = 2048 */ + static constexpr unsigned NUM_BUFFERS = 16; + AudioOutput base; const char *device_name;