shithub: sox

Download patch

ref: b5b352d94fed60194d3e19b6e95136e16fa444e3
parent: eb532fc94ba39fd4a91758f08636d7db2cd4b220
author: Rob Sykes <robs@users.sourceforge.net>
date: Sun Jun 24 09:02:40 EDT 2012

use full resolution that sample_t provides

--- a/src/dat.c
+++ b/src/dat.c
@@ -137,7 +137,7 @@
       lsx_writes(ft, s);
       for (i=0; i<ft->signal.channels; i++) {
         sampval = SOX_SAMPLE_TO_FLOAT_64BIT(*buf++, ft->clips);
-        sprintf(s," %15.8g", sampval);
+        sprintf(s," %15.11g", sampval);
         lsx_writes(ft, s);
         done++;
       }