ref: 4e79fda638f72248d827d4a985b1cf43b56f5f50
parent: 62e1a1b2358b1033803000d9d0c8a6c3605e3690
author: lieff <[email protected]>
date: Wed Aug 22 14:14:17 EDT 2018
use float multiplication instead of division in mp3d_scale_pcm
--- a/minimp3.h
+++ b/minimp3.h
@@ -1382,7 +1382,7 @@
#else
static float mp3d_scale_pcm(float sample)
{
- return sample / 32768.0f;
+ return sample*(1.f/32768.f);
}
#endif