shithub: sox

Download patch

ref: aaea417c8ededbb80d8d2197e5b0570c7c0681da
parent: ec36c8cf74f765efbe93543203afc05fc85921a2
author: rrt <rrt>
date: Tue Jan 23 15:18:12 EST 2007

Deactivate .nist, as it's the same as .sph; add .sph so that sndfile
knows it can handle it.

--- a/src/sndfile.c
+++ b/src/sndfile.c
@@ -105,6 +105,7 @@
   { "fap",	0, SF_ENDIAN_LITTLE | SF_FORMAT_PAF },
   { "gsm",	0, SF_FORMAT_RAW | SF_FORMAT_GSM610 },
   { "nist", 	0, SF_FORMAT_NIST },
+  { "sph",      0, SF_FORMAT_NIST },
   { "ircam",	0, SF_FORMAT_IRCAM },
   { "sf",	0, SF_FORMAT_IRCAM },
   { "voc",	0, SF_FORMAT_VOC },
@@ -289,7 +290,7 @@
   "paf",
   "fap",
   /* "gsm", */
-  "nist",
+  /* "nist", */
   /* "ircam", */
   /* "sf", */
   /* "voc", */