Commit f6495141 authored by Max Kellermann's avatar Max Kellermann

output/openal: convert macro to constexpr

parent afd31677
...@@ -34,12 +34,12 @@ ...@@ -34,12 +34,12 @@
#include <OpenAL/alc.h> #include <OpenAL/alc.h>
#endif #endif
/* should be enough for buffer size = 2048 */
#define NUM_BUFFERS 16
class OpenALOutput { class OpenALOutput {
friend struct AudioOutputWrapper<OpenALOutput>; friend struct AudioOutputWrapper<OpenALOutput>;
/* should be enough for buffer size = 2048 */
static constexpr unsigned NUM_BUFFERS = 16;
AudioOutput base; AudioOutput base;
const char *device_name; const char *device_name;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment