From 38c814f52a34136bee37724fd8c8a22a2f3a8963 Mon Sep 17 00:00:00 2001 From: Clownacy Date: Wed, 19 Jan 2022 19:07:40 +0000 Subject: [PATCH] Update some more documentation This time for example code showing 'ma_channel_converter_init' and 'ma_data_converter_init'. --- miniaudio.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/miniaudio.h b/miniaudio.h index 26e332b0..f90b9f84 100644 --- a/miniaudio.h +++ b/miniaudio.h @@ -2681,7 +2681,7 @@ initializing a simple channel converter which converts from mono to stereo. NULL, // Output channel map ma_channel_mix_mode_default); // The mixing algorithm to use when combining channels. - result = ma_channel_converter_init(&config, &converter); + result = ma_channel_converter_init(&config, NULL, &converter); if (result != MA_SUCCESS) { // Error. } @@ -2978,7 +2978,7 @@ object like this: ); ma_data_converter converter; - ma_result result = ma_data_converter_init(&config, &converter); + ma_result result = ma_data_converter_init(&config, NULL, &converter); if (result != MA_SUCCESS) { // An error occurred... }