mirror of
https://github.com/mackron/miniaudio.git
synced 2026-04-22 00:06:59 +02:00
More clean up for the multi_playback example.
This commit is contained in:
@@ -1,27 +1,12 @@
|
|||||||
#define _CRT_SECURE_NO_WARNINGS
|
#define _CRT_SECURE_NO_WARNINGS
|
||||||
|
|
||||||
#define DR_FLAC_IMPLEMENTATION
|
// These are implemented at the bottom of this file.
|
||||||
#include "../extras/dr_flac.h"
|
|
||||||
|
|
||||||
#define DR_WAV_IMPLEMENTATION
|
|
||||||
#include "../extras/dr_wav.h"
|
|
||||||
|
|
||||||
|
|
||||||
#define STB_VORBIS_HEADER_ONLY
|
#define STB_VORBIS_HEADER_ONLY
|
||||||
#include "../extras/stb_vorbis.c"
|
#include "../extras/stb_vorbis.c"
|
||||||
|
#include "../extras/dr_flac.h"
|
||||||
|
#include "../extras/dr_wav.h"
|
||||||
#include "../extras/jar_mod.h"
|
#include "../extras/jar_mod.h"
|
||||||
|
|
||||||
#if defined(_MSC_VER)
|
|
||||||
#pragma warning(push)
|
|
||||||
#pragma warning(disable:4244)
|
|
||||||
#pragma warning(disable:4018)
|
|
||||||
#endif
|
|
||||||
#include "../extras/jar_xm.h"
|
#include "../extras/jar_xm.h"
|
||||||
#if defined(_MSC_VER)
|
|
||||||
#pragma warning(pop)
|
|
||||||
#endif
|
|
||||||
|
|
||||||
|
|
||||||
#define MAL_IMPLEMENTATION
|
#define MAL_IMPLEMENTATION
|
||||||
#include "../mini_al.h"
|
#include "../mini_al.h"
|
||||||
@@ -245,6 +230,12 @@ end:;
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
||||||
|
#define DR_FLAC_IMPLEMENTATION
|
||||||
|
#include "../extras/dr_flac.h"
|
||||||
|
|
||||||
|
#define DR_WAV_IMPLEMENTATION
|
||||||
|
#include "../extras/dr_wav.h"
|
||||||
|
|
||||||
#if defined(_MSC_VER)
|
#if defined(_MSC_VER)
|
||||||
#pragma warning(push)
|
#pragma warning(push)
|
||||||
#pragma warning(disable:4456)
|
#pragma warning(disable:4456)
|
||||||
|
|||||||
Reference in New Issue
Block a user