mirror of
https://github.com/mackron/miniaudio.git
synced 2026-04-21 15:56:58 +02:00
Remove an invalid comment from some examples.
This commit is contained in:
@@ -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
|
|||||||
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>
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user