fromValue static method
Implementation
static ma_channel_mix_mode fromValue(int value) => switch (value) {
0 => ma_channel_mix_mode_rectangular,
1 => ma_channel_mix_mode_simple,
2 => ma_channel_mix_mode_custom_weights,
_ =>
throw ArgumentError('Unknown value for ma_channel_mix_mode: $value'),
};