diff --git a/examples/custom_decoder.c b/examples/custom_decoder.c index d73576b6..b021bd03 100644 --- a/examples/custom_decoder.c +++ b/examples/custom_decoder.c @@ -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. The `onInitFile`, `onInitFileW` and `onInitMemory` functions are optional. */ - -/* -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 "../miniaudio.c" #include "../extras/decoders/libvorbis/miniaudio_libvorbis.c" #include "../extras/decoders/libopus/miniaudio_libopus.c" -#include "../miniaudio.c" #include diff --git a/examples/custom_decoder_engine.c b/examples/custom_decoder_engine.c index 5938c76e..1757ec64 100644 --- a/examples/custom_decoder_engine.c +++ b/examples/custom_decoder_engine.c @@ -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 example (via libopus). */ - -/* -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 "../miniaudio.c" #include "../extras/decoders/libvorbis/miniaudio_libvorbis.c" #include "../extras/decoders/libopus/miniaudio_libopus.c" -#include "../miniaudio.c" #include