From ea0203caaa90127b23f4a25d2b78d2ac5a46d1ca Mon Sep 17 00:00:00 2001 From: David Reid Date: Sun, 25 Mar 2018 11:27:52 +1000 Subject: [PATCH] Documentation. --- mini_al.h | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/mini_al.h b/mini_al.h index e032fa97..95cea8fd 100644 --- a/mini_al.h +++ b/mini_al.h @@ -786,13 +786,14 @@ struct mal_dsp mal_dsp_config config; mal_dsp_read_proc onRead; void* pUserDataForOnRead; - mal_format_converter formatConverter; - mal_src src; // For sample rate conversion. - mal_channel channelMapInPostMix[MAL_MAX_CHANNELS]; // <-- When mixing, new channels may need to be created. This represents the channel map after mixing. + mal_format_converter formatConverterIn; // For converting data to f32 in preparation for further processing. + mal_format_converter formatConverterOut; // For converting data to the requested output format. Used as the final step in the processing pipeline. + mal_src src; // For sample rate conversion. + mal_channel channelMapInPostMix[MAL_MAX_CHANNELS]; // <-- When mixing, new channels may need to be created. This represents the channel map after mixing. mal_channel channelShuffleTable[MAL_MAX_CHANNELS]; mal_bool32 isChannelMappingRequired : 1; mal_bool32 isSRCRequired : 1; - mal_bool32 isPassthrough : 1; // <-- Will be set to true when the DSP pipeline is an optimized passthrough. + mal_bool32 isPassthrough : 1; // <-- Will be set to true when the DSP pipeline is an optimized passthrough. };