diff --git a/docs/examples/custom_decoder.html b/docs/examples/custom_decoder.html index 906b06a0..f314acc9 100644 --- a/docs/examples/custom_decoder.html +++ b/docs/examples/custom_decoder.html @@ -444,7 +444,7 @@ The onInitFile, return; } - ma_data_source_read_pcm_frames(pDataSource, pOutput, frameCount, NULL, MA_TRUE); + ma_data_source_read_pcm_frames(pDataSource, pOutput, frameCount, NULL); (void)pInput; } @@ -489,6 +489,8 @@ The onInitFile, return -1; } + ma_data_source_set_looping(&decoder, MA_TRUE); + /* Initialize the device. */ result = ma_data_source_get_data_format(&decoder, &format, &channels, &sampleRate, NULL, 0); diff --git a/docs/manual/index.html b/docs/manual/index.html index a68551b0..7d11d4b4 100644 --- a/docs/manual/index.html +++ b/docs/manual/index.html @@ -4383,7 +4383,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. } @@ -4973,7 +4973,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... } @@ -5004,7 +5004,7 @@ Do the following to uninitialize the data converter:
-ma_data_converter_uninit(&converter); +ma_data_converter_uninit(&converter, NULL);
The following example shows how data can be processed @@ -6147,8 +6147,9 @@ Automatic stream routing is enabled on a per-backend basis. Support is explicitl not all have been tested.