output/openal: convert macro to constexpr
This commit is contained in:
parent
afd31677dd
commit
f649514183
|
@ -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;
|
||||||
|
|
Loading…
Reference in New Issue