shithub: sox

Download patch

ref: 87c1572b1d7a007d54d47113b995325293b13d54
parent: 6e88a6f3e690806f1d944cc19012ecb1c1edc847
author: robs <robs>
date: Thu Dec 21 08:17:27 EST 2006

Don't match special device names in real file names.

--- a/src/oss.c
+++ b/src/oss.c
@@ -224,7 +224,7 @@
 static st_format_t st_ossdsp_format = {
   ossdspnames,
   NULL,
-  ST_FILE_STEREO,
+  ST_FILE_STEREO | ST_FILE_NOFEXT,
   st_ossdspstartread,
   st_rawread,
   st_rawstopread,
--- a/src/sunaudio.c
+++ b/src/sunaudio.c
@@ -315,7 +315,7 @@
 static st_format_t st_sun_format = {
   sunnames,
   NULL,
-  ST_FILE_STEREO,
+  ST_FILE_STEREO | ST_FILE_NOFEXT,
   st_sunstartread,
   st_rawread,
   st_rawstopread,