diff options
Diffstat (limited to '')
-rw-r--r-- | src/output/plugins/OpenALOutputPlugin.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
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 <OpenAL/alc.h> #endif -/* should be enough for buffer size = 2048 */ -#define NUM_BUFFERS 16 - class OpenALOutput { friend struct AudioOutputWrapper<OpenALOutput>; + /* should be enough for buffer size = 2048 */ + static constexpr unsigned NUM_BUFFERS = 16; + AudioOutput base; const char *device_name; |