shithub: sox

Download patch

ref: 6ede71020a5a85e90e2960494f9a25be24b41c32
parent: e9268909efe3a3124e4a6d1586c776ec7c8e2bc2
author: Ulrich Klauer <ulrich@chirlu.de>
date: Sun Mar 3 16:51:23 EST 2013

Enable writing WAV files with 64-bit floats

Add 64-bit floating-point to the list of encodings supported by WAV.

--- a/src/wav.c
+++ b/src/wav.c
@@ -1669,7 +1669,7 @@
     SOX_ENCODING_GSM, 0,
     SOX_ENCODING_MS_ADPCM, 4, 0,
     SOX_ENCODING_IMA_ADPCM, 4, 0,
-    SOX_ENCODING_FLOAT, 32, 0,
+    SOX_ENCODING_FLOAT, 32, 64, 0,
     0};
   static sox_format_handler_t const handler = {SOX_LIB_VERSION_CODE,
     "Microsoft audio format", names, SOX_FILE_LIT_END,