Commit 1ac6bcf7 authored by David Reid's avatar David Reid

Update dr_flac and dr_wav.

parent 23444056
/*
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.
......
/*
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.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment