mirror of
https://github.com/mackron/miniaudio.git
synced 2026-04-22 00:06:59 +02:00
Update dr_flac.
This commit is contained in:
+11
-4
@@ -1,5 +1,5 @@
|
|||||||
// FLAC audio decoder. Public domain. See "unlicense" statement at the end of this file.
|
// FLAC audio decoder. Public domain. See "unlicense" statement at the end of this file.
|
||||||
// dr_flac - v0.11.4 - 2018-04-17
|
// dr_flac - v0.11.5-rc - 2018-04-19
|
||||||
//
|
//
|
||||||
// David Reid - mackron@gmail.com
|
// David Reid - mackron@gmail.com
|
||||||
|
|
||||||
@@ -138,15 +138,19 @@ typedef drflac_uint32 drflac_bool32;
|
|||||||
#define DRFLAC_TRUE 1
|
#define DRFLAC_TRUE 1
|
||||||
#define DRFLAC_FALSE 0
|
#define DRFLAC_FALSE 0
|
||||||
|
|
||||||
#if defined(_MSC_VER) && _MSC_VER >= 1700 // Visual Studio 2012
|
#if defined(_MSC_VER) && _MSC_VER >= 1700 /* Visual Studio 2012 */
|
||||||
#define DRFLAC_DEPRECATED __declspec(deprecated)
|
#define DRFLAC_DEPRECATED __declspec(deprecated)
|
||||||
#elif (defined(__GNUC__) && __GNUC__ >= 4)
|
#elif (defined(__GNUC__) && __GNUC__ >= 4) /* GCC 4 */
|
||||||
#define DRFLAC_DEPRECATED __attribute__((deprecated))
|
#define DRFLAC_DEPRECATED __attribute__((deprecated))
|
||||||
#elif (defined(__clang__) && __has_feature(attribute_deprecated))
|
#elif defined(__has_feature) /* Clang */
|
||||||
|
#if defined(__has_feature(attribute_deprecated))
|
||||||
#define DRFLAC_DEPRECATED __attribute__((deprecated))
|
#define DRFLAC_DEPRECATED __attribute__((deprecated))
|
||||||
#else
|
#else
|
||||||
#define DRFLAC_DEPRECATED
|
#define DRFLAC_DEPRECATED
|
||||||
#endif
|
#endif
|
||||||
|
#else
|
||||||
|
#define DRFLAC_DEPRECATED
|
||||||
|
#endif
|
||||||
|
|
||||||
// As data is read from the client it is placed into an internal buffer for fast access. This controls the
|
// As data is read from the client it is placed into an internal buffer for fast access. This controls the
|
||||||
// size of that buffer. Larger values means more speed, but also more memory. In my testing there is diminishing
|
// size of that buffer. Larger values means more speed, but also more memory. In my testing there is diminishing
|
||||||
@@ -7982,6 +7986,9 @@ drflac_bool32 drflac_next_cuesheet_track(drflac_cuesheet_track_iterator* pIter,
|
|||||||
|
|
||||||
// REVISION HISTORY
|
// REVISION HISTORY
|
||||||
//
|
//
|
||||||
|
// v0.11.5 - 2018-04-19
|
||||||
|
// - Fix a compiler error with GCC.
|
||||||
|
//
|
||||||
// v0.11.4 - 2018-04-17
|
// v0.11.4 - 2018-04-17
|
||||||
// - Fix some warnings with GCC when compiling with -std=c99.
|
// - Fix some warnings with GCC when compiling with -std=c99.
|
||||||
//
|
//
|
||||||
|
|||||||
Reference in New Issue
Block a user