output/jack: convert enum to constexpr

This commit is contained in:
Max Kellermann 2014-12-24 09:52:32 +01:00
parent ea96919b80
commit 51150faa39

View File

@ -36,9 +36,7 @@
#include <stdlib.h> #include <stdlib.h>
#include <string.h> #include <string.h>
enum { static constexpr unsigned MAX_PORTS = 16;
MAX_PORTS = 16,
};
static const size_t jack_sample_size = sizeof(jack_default_audio_sample_t); static const size_t jack_sample_size = sizeof(jack_default_audio_sample_t);