Commit 17b8dbf9 authored by David Reid's avatar David Reid

Remove an invalid comment from some examples.

parent 46634238
...@@ -15,14 +15,9 @@ the decoder via the decoder config (`ma_decoder_config`). You need to implement ...@@ -15,14 +15,9 @@ the decoder via the decoder config (`ma_decoder_config`). You need to implement
of your custom decoders. See `ma_decoding_backend_vtable` for the functions you need to implement. of your custom decoders. See `ma_decoding_backend_vtable` for the functions you need to implement.
The `onInitFile`, `onInitFileW` and `onInitMemory` functions are optional. The `onInitFile`, `onInitFileW` and `onInitMemory` functions are optional.
*/ */
#include "../miniaudio.c"
/*
For now these need to be declared before miniaudio.c due to some compatibility issues with the old
MINIAUDIO_IMPLEMENTATION system. This will change from version 0.12.
*/
#include "../extras/decoders/libvorbis/miniaudio_libvorbis.c" #include "../extras/decoders/libvorbis/miniaudio_libvorbis.c"
#include "../extras/decoders/libopus/miniaudio_libopus.c" #include "../extras/decoders/libopus/miniaudio_libopus.c"
#include "../miniaudio.c"
#include <stdio.h> #include <stdio.h>
......
...@@ -5,14 +5,9 @@ This is the same as the custom_decoder example, only it's used with the high lev ...@@ -5,14 +5,9 @@ This is the same as the custom_decoder example, only it's used with the high lev
rather than the low level decoding API. You can use this to add support for Opus to your games, for rather than the low level decoding API. You can use this to add support for Opus to your games, for
example (via libopus). example (via libopus).
*/ */
#include "../miniaudio.c"
/*
For now these need to be declared before miniaudio.c due to some compatibility issues with the old
MINIAUDIO_IMPLEMENTATION system. This will change from version 0.12.
*/
#include "../extras/decoders/libvorbis/miniaudio_libvorbis.c" #include "../extras/decoders/libvorbis/miniaudio_libvorbis.c"
#include "../extras/decoders/libopus/miniaudio_libopus.c" #include "../extras/decoders/libopus/miniaudio_libopus.c"
#include "../miniaudio.c"
#include <stdio.h> #include <stdio.h>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment