mirror of
https://github.com/mackron/miniaudio.git
synced 2026-04-24 01:04:02 +02:00
Update dr_mp3.
This commit is contained in:
+5
-2
@@ -1,5 +1,5 @@
|
|||||||
// 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.1b - 2018-03-07
|
// dr_mp3 - v0.1c - 2018-03-11
|
||||||
//
|
//
|
||||||
// David Reid - mackron@gmail.com
|
// David Reid - mackron@gmail.com
|
||||||
//
|
//
|
||||||
@@ -2242,7 +2242,7 @@ drmp3_uint64 drmp3_src_read_frames_linear(drmp3_src* pSRC, drmp3_uint64 frameCou
|
|||||||
float* pPrevFrame = pSRC->bin;
|
float* pPrevFrame = pSRC->bin;
|
||||||
float* pNextFrame = pSRC->bin + pSRC->config.channels;
|
float* pNextFrame = pSRC->bin + pSRC->config.channels;
|
||||||
|
|
||||||
drmp3_blend_f32(pFramesOut, pPrevFrame, pNextFrame, pSRC->algo.linear.alpha, pSRC->config.channels);
|
drmp3_blend_f32((float*)pFramesOut, pPrevFrame, pNextFrame, pSRC->algo.linear.alpha, pSRC->config.channels);
|
||||||
|
|
||||||
pSRC->algo.linear.alpha += factor;
|
pSRC->algo.linear.alpha += factor;
|
||||||
|
|
||||||
@@ -2747,6 +2747,9 @@ void drmp3_free(void* p)
|
|||||||
// REVISION HISTORY
|
// REVISION HISTORY
|
||||||
// ===============
|
// ===============
|
||||||
//
|
//
|
||||||
|
// v0.1c - 2018-03-11
|
||||||
|
// - Fix C++ build error.
|
||||||
|
//
|
||||||
// v0.1b - 2018-03-07
|
// v0.1b - 2018-03-07
|
||||||
// - Bring up to date with minimp3.
|
// - Bring up to date with minimp3.
|
||||||
//
|
//
|
||||||
|
|||||||
Reference in New Issue
Block a user