output/jack: convert enum to constexpr
This commit is contained in:
parent
ea96919b80
commit
51150faa39
@ -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);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user