output/openal: convert macro to constexpr

This commit is contained in:
Max Kellermann 2015-01-03 20:00:41 +01:00
parent afd31677dd
commit f649514183
1 changed files with 3 additions and 3 deletions

View File

@ -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;