shithub: mp3dec

Download patch

ref: b837573e502ea37060e2ca173551e21713275b1d
parent: ae42b1006b61dbcf2d1ccc8f93260dd18be69782
author: lieff <[email protected]>
date: Wed Aug 22 10:58:23 EDT 2018

readme: update doc

--- a/README.md
+++ b/README.md
@@ -71,6 +71,7 @@
 //#define MINIMP3_ONLY_SIMD
 //#define MINIMP3_NO_SIMD
 //#define MINIMP3_NONSTANDARD_BUT_LOGICAL
+//#define MINIMP3_FLOAT_OUTPUT
 #define MINIMP3_IMPLEMENTATION
 #include "minimp3.h"
 ...
@@ -84,6 +85,7 @@
 MINIMP3_ONLY_SIMD define controls generic (non SSE/NEON) code generation (always enabled on x64/arm64 targets).
 In case you do not want any platform-specific SIMD optimizations, you can define ``MINIMP3_NO_SIMD``.
 MINIMP3_NONSTANDARD_BUT_LOGICAL define saves some code bytes, and enforces non-stadnard but logical behaviour of mono-stereo transition (rare case).
+MINIMP3_FLOAT_OUTPUT makes ``mp3dec_decode_frame()`` output to be float instead of short and additional function mp3dec_f32_to_s16 will be available for float->short conversion if needed.
 
 Then. we decode the input stream frame-by-frame: