Update dr_mp3.

This commit is contained in:
David Reid
2018-04-29 19:08:13 +10:00
parent dbe3166c0e
commit 37c14f3e1f
+9 -1
View File
@@ -1,5 +1,5 @@
// MP3 audio decoder. Public domain. See "unlicense" statement at the end of this file. // MP3 audio decoder. Public domain. See "unlicense" statement at the end of this file.
// dr_mp3 - v0.2.2 - 2018-04-28 // dr_mp3 - v0.2.3 - 2018-04-29
// //
// David Reid - mackron@gmail.com // David Reid - mackron@gmail.com
// //
@@ -309,6 +309,11 @@ void drmp3_free(void* p);
#include <stdint.h> #include <stdint.h>
#include <limits.h> // For INT_MAX #include <limits.h> // For INT_MAX
// Disable SIMD when compiling with TCC for now.
#if defined(__TINYC__)
#define DR_MP3_NO_SIMD
#endif
#define DRMP3_MAX_FREE_FORMAT_FRAME_SIZE 2304 /* more than ISO spec's */ #define DRMP3_MAX_FREE_FORMAT_FRAME_SIZE 2304 /* more than ISO spec's */
#define DRMP3_MAX_FRAME_SYNC_MATCHES 10 #define DRMP3_MAX_FRAME_SYNC_MATCHES 10
@@ -2771,6 +2776,9 @@ void drmp3_free(void* p)
// REVISION HISTORY // REVISION HISTORY
// =============== // ===============
// //
// v0.2.3 - 2018-04-29
// - Fix TCC build.
//
// v0.2.2 - 2018-04-28 // v0.2.2 - 2018-04-28
// - Fix bug when opening a decoder from memory. // - Fix bug when opening a decoder from memory.
// //