mirror of
https://github.com/mackron/miniaudio.git
synced 2026-04-22 00:06:59 +02:00
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.
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user