Commit 18a70db5 authored by David Reid's avatar David Reid

Make MA_MAX_CHANNELS configurable.

This needs to be #define-d before the header *and* implementation
because it affects the size of publicly visible structures.
parent 5a7c2be7
......@@ -1912,7 +1912,9 @@ typedef int ma_result;
#define MA_SAMPLE_RATE_384000 384000
#define MA_MIN_CHANNELS 1
#ifndef MA_MAX_CHANNELS
#define MA_MAX_CHANNELS 32
#endif
#define MA_MIN_SAMPLE_RATE MA_SAMPLE_RATE_8000
#define MA_MAX_SAMPLE_RATE MA_SAMPLE_RATE_384000
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment