mirror of
https://github.com/mackron/miniaudio.git
synced 2026-04-26 02:04:05 +02:00
Update dr_flac and dr_mp3.
This commit is contained in:
+6
-3
@@ -1,6 +1,6 @@
|
||||
/*
|
||||
MP3 audio decoder. Choice of public domain or MIT-0. See license statements at the end of this file.
|
||||
dr_mp3 - v0.6.12 - 2020-06-23
|
||||
dr_mp3 - v0.6.13 - 2020-07-06
|
||||
|
||||
David Reid - mackron@gmail.com
|
||||
|
||||
@@ -95,7 +95,7 @@ extern "C" {
|
||||
|
||||
#define DRMP3_VERSION_MAJOR 0
|
||||
#define DRMP3_VERSION_MINOR 6
|
||||
#define DRMP3_VERSION_REVISION 12
|
||||
#define DRMP3_VERSION_REVISION 13
|
||||
#define DRMP3_VERSION_STRING DRMP3_XSTRINGIFY(DRMP3_VERSION_MAJOR) "." DRMP3_XSTRINGIFY(DRMP3_VERSION_MINOR) "." DRMP3_XSTRINGIFY(DRMP3_VERSION_REVISION)
|
||||
|
||||
#include <stddef.h> /* For size_t. */
|
||||
@@ -3645,7 +3645,7 @@ DRMP3_API drmp3_uint64 drmp3_read_pcm_frames_f32(drmp3* pMP3, drmp3_uint64 frame
|
||||
break;
|
||||
}
|
||||
|
||||
drmp3_s16_to_f32((float*)DRMP3_OFFSET_PTR(pBufferOut, sizeof(drmp3_int16) * totalPCMFramesRead * pMP3->channels), pTempS16, framesJustRead * pMP3->channels);
|
||||
drmp3_s16_to_f32((float*)DRMP3_OFFSET_PTR(pBufferOut, sizeof(float) * totalPCMFramesRead * pMP3->channels), pTempS16, framesJustRead * pMP3->channels);
|
||||
totalPCMFramesRead += framesJustRead;
|
||||
}
|
||||
|
||||
@@ -4428,6 +4428,9 @@ counts rather than sample counts.
|
||||
/*
|
||||
REVISION HISTORY
|
||||
================
|
||||
v0.6.13 - 2020-07-06
|
||||
- Fix a bug when converting from s16 to f32 in drmp3_read_pcm_frames_f32().
|
||||
|
||||
v0.6.12 - 2020-06-23
|
||||
- Add include guard for the implementation section.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user