@@ -11509,34 +11542,7 @@ mal_result mal_decoder_init_wav__internal(const mal_decoder_config* pConfig, mal
pDecoder->internalSampleRate=pWav->sampleRate;
mal_get_default_device_config_channel_map(pDecoder->internalChannels,pDecoder->internalChannelMap);// For WAV files we are currently making an assumption on the channel map.
@@ -11621,36 +11703,9 @@ mal_result mal_decoder_init_flac__internal(const mal_decoder_config* pConfig, ma
pDecoder->internalFormat=mal_format_s32;
pDecoder->internalChannels=pFlac->channels;
pDecoder->internalSampleRate=pFlac->sampleRate;
mal_get_default_device_config_channel_map(pDecoder->internalChannels,pDecoder->internalChannelMap);// TODO: The channel order is well defined by FLAC. Fix this.