From 1ac6bcf779f1aa6fcde357ed039958f5d174683a Mon Sep 17 00:00:00 2001 From: David Reid Date: Sat, 7 Mar 2020 08:30:18 +1000 Subject: [PATCH] Update dr_flac and dr_wav. --- extras/dr_flac.h | 7 +++++-- extras/dr_wav.h | 9 ++++++--- 2 files changed, 11 insertions(+), 5 deletions(-) diff --git a/extras/dr_flac.h b/extras/dr_flac.h index 0ee61e04..38af9876 100644 --- a/extras/dr_flac.h +++ b/extras/dr_flac.h @@ -1,6 +1,6 @@ /* FLAC audio decoder. Choice of public domain or MIT-0. See license statements at the end of this file. -dr_flac - v0.12.5 - 2020-01-30 +dr_flac - v0.12.6 - 2020-03-07 David Reid - mackron@gmail.com */ @@ -1187,7 +1187,7 @@ static DRFLAC_INLINE drflac_bool32 drflac_has_sse41() #endif #endif -#if defined(_MSC_VER) && _MSC_VER >= 1300 +#if defined(_MSC_VER) && _MSC_VER >= 1400 #define DRFLAC_HAS_BYTESWAP16_INTRINSIC #define DRFLAC_HAS_BYTESWAP32_INTRINSIC #define DRFLAC_HAS_BYTESWAP64_INTRINSIC @@ -10739,6 +10739,9 @@ drflac_bool32 drflac_next_cuesheet_track(drflac_cuesheet_track_iterator* pIter, /* REVISION HISTORY ================ +v0.12.6 - 2020-03-07 + - Fix compilation error with Visual Studio .NET 2003. + v0.12.5 - 2020-01-30 - Silence some static analysis warnings. diff --git a/extras/dr_wav.h b/extras/dr_wav.h index 42d81a68..7166bbb9 100644 --- a/extras/dr_wav.h +++ b/extras/dr_wav.h @@ -1,6 +1,6 @@ /* WAV audio loader and writer. Choice of public domain or MIT-0. See license statements at the end of this file. -dr_wav - v0.11.4 - 2020-01-29 +dr_wav - v0.11.5 - 2020-03-07 David Reid - mackron@gmail.com */ @@ -247,7 +247,7 @@ to write raw data in the "data" chunk. format.channels = 2; format.sampleRate = 44100; format.bitsPerSample = 16; - drwav_init_file_write(&wav, "data/recording.wav", &format); + drwav_init_file_write(&wav, "data/recording.wav", &format, NULL); ... @@ -1050,7 +1050,7 @@ void drwav_free(void* p, const drwav_allocation_callbacks* pAllocationCallbacks) #endif #endif -#if defined(_MSC_VER) && _MSC_VER >= 1300 +#if defined(_MSC_VER) && _MSC_VER >= 1400 #define DRWAV_HAS_BYTESWAP16_INTRINSIC #define DRWAV_HAS_BYTESWAP32_INTRINSIC #define DRWAV_HAS_BYTESWAP64_INTRINSIC @@ -5055,6 +5055,9 @@ void drwav_free(void* p, const drwav_allocation_callbacks* pAllocationCallbacks) /* REVISION HISTORY ================ +v0.11.5 - 2020-03-07 + - Fix compilation error with Visual Studio .NET 2003. + v0.11.4 - 2020-01-29 - Fix some static analysis warnings. - Fix a bug when reading f32 samples from an A-law encoded stream.