Commit c1c422d3 authored by David Reid's avatar David Reid

Update dr_mp3.

parent 4f9f19c3
// 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.4.0 - 2018-12-16 // dr_mp3 - v0.4.1 - 2018-12-30
// //
// David Reid - mackron@gmail.com // David Reid - mackron@gmail.com
// //
...@@ -3279,7 +3279,7 @@ drmp3_bool32 drmp3_calculate_seek_points(drmp3* pMP3, drmp3_uint32* pSeekPointCo ...@@ -3279,7 +3279,7 @@ drmp3_bool32 drmp3_calculate_seek_points(drmp3* pMP3, drmp3_uint32* pSeekPointCo
} else { } else {
// The next seek point is not in the current MP3 frame, so continue on to the next one. The first thing to do is cycle the cached // The next seek point is not in the current MP3 frame, so continue on to the next one. The first thing to do is cycle the cached
// MP3 frame info. // MP3 frame info.
for (int i = 0; i < drmp3_countof(mp3FrameInfo)-1; ++i) { for (size_t i = 0; i < drmp3_countof(mp3FrameInfo)-1; ++i) {
mp3FrameInfo[i] = mp3FrameInfo[i+1]; mp3FrameInfo[i] = mp3FrameInfo[i+1];
} }
...@@ -3450,6 +3450,9 @@ void drmp3_free(void* p) ...@@ -3450,6 +3450,9 @@ void drmp3_free(void* p)
// REVISION HISTORY // REVISION HISTORY
// ================ // ================
// //
// v0.4.1 - 2018-12-30
// - Fix a warning.
//
// v0.4.0 - 2018-12-16 // v0.4.0 - 2018-12-16
// - API CHANGE: Rename some APIs: // - API CHANGE: Rename some APIs:
// - drmp3_read_f32 -> to drmp3_read_pcm_frames_f32 // - drmp3_read_f32 -> to drmp3_read_pcm_frames_f32
......
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