[raudio]: Remove DrFLAC & DrMP3 header files

This commit is contained in:
torph 2026-02-08 01:53:19 -05:00
parent 12e18a22ad
commit d00f52e419
No known key found for this signature in database
3 changed files with 14 additions and 17925 deletions

12556
src/external/dr_flac.h vendored

File diff suppressed because it is too large Load Diff

5340
src/external/dr_mp3.h vendored

File diff suppressed because it is too large Load Diff

View File

@ -32,8 +32,6 @@
* miniaudio.h - Audio device management lib (https://github.com/mackron/miniaudio) * miniaudio.h - Audio device management lib (https://github.com/mackron/miniaudio)
* stb_vorbis.h - Ogg audio files loading (http://www.nothings.org/stb_vorbis/) * stb_vorbis.h - Ogg audio files loading (http://www.nothings.org/stb_vorbis/)
* dr_wav.h - WAV audio files loading (http://github.com/mackron/dr_libs) * dr_wav.h - WAV audio files loading (http://github.com/mackron/dr_libs)
* dr_mp3.h - MP3 audio file loading (https://github.com/mackron/dr_libs)
* dr_flac.h - FLAC audio file loading (https://github.com/mackron/dr_libs)
* jar_xm.h - XM module file loading * jar_xm.h - XM module file loading
* jar_mod.h - MOD audio file loading * jar_mod.h - MOD audio file loading
* *
@ -158,46 +156,33 @@ typedef struct tagBITMAPINFOHEADER {
#define MA_MALLOC RL_MALLOC #define MA_MALLOC RL_MALLOC
#define MA_FREE RL_FREE #define MA_FREE RL_FREE
#define MA_NO_JACK #define MA_NO_JACK
#define MA_NO_WAV
#define MA_NO_FLAC
#define MA_NO_MP3
#define MA_NO_RESOURCE_MANAGER #define MA_NO_RESOURCE_MANAGER
#define MA_NO_NODE_GRAPH #define MA_NO_NODE_GRAPH
#define MA_NO_ENGINE #define MA_NO_ENGINE
#define MA_NO_GENERATION #define MA_NO_GENERATION
#if !defined(SUPPORT_FILEFORMAT_WAV)
#define MA_NO_WAV
#endif
#if defined(SUPPORT_FILEFORMAT_WAV) #if defined(SUPPORT_FILEFORMAT_WAV)
#define DRWAV_MALLOC RL_MALLOC #define DRWAV_MALLOC RL_MALLOC
#define DRWAV_REALLOC RL_REALLOC #define DRWAV_REALLOC RL_REALLOC
#define DRWAV_FREE RL_FREE #define DRWAV_FREE RL_FREE
#undef MA_NO_WAV
#define DR_WAV_IMPLEMENTATION #define DR_WAV_IMPLEMENTATION
#include "external/dr_wav.h" // WAV loading functions #include "external/dr_wav.h" // WAV saving functions
#else
#define MA_NO_WAV
#endif #endif
#if defined(SUPPORT_FILEFORMAT_MP3) #if !defined(SUPPORT_FILEFORMAT_FLAC)
#define DRMP3_MALLOC RL_MALLOC #define MA_NO_FLAC
#define DRMP3_REALLOC RL_REALLOC
#define DRMP3_FREE RL_FREE
#undef MA_NO_MP3
#define DR_MP3_IMPLEMENTATION
#include "external/dr_mp3.h" // MP3 loading functions
#endif #endif
#if defined(SUPPORT_FILEFORMAT_FLAC) #if !defined(SUPPORT_FILEFORMAT_MP3)
#define DRFLAC_MALLOC RL_MALLOC #define MA_NO_MP3
#define DRFLAC_REALLOC RL_REALLOC
#define DRFLAC_FREE RL_FREE
#undef MA_NO_FLAC
#define DR_FLAC_IMPLEMENTATION
#define DR_FLAC_NO_WIN32_IO
#include "external/dr_flac.h" // FLAC loading functions
#endif #endif