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 <string.h>
enum {
MAX_PORTS = 16,
};
static constexpr unsigned MAX_PORTS = 16;
static const size_t jack_sample_size = sizeof(jack_default_audio_sample_t);