ref: 8330c91f0a5c7358002f9f788a90278e76605059
parent: 9be087e6db2fc207507b4ab09e3da9e186a19d79
author: robs <robs>
date: Sat Sep 12 12:51:05 EDT 2009
promote waveaudio above oss
--- a/src/sox.c
+++ b/src/sox.c
@@ -2370,11 +2370,11 @@
if (!f->filetype) f->filetype = getenv("AUDIODRIVER");
if (!f->filetype && sox_find_format("coreaudio", sox_false)) f->filetype = "coreaudio";
if (!f->filetype && sox_find_format("alsa", sox_false)) f->filetype = "alsa";
+ if (!f->filetype && sox_find_format("waveaudio" , sox_false)) f->filetype = "waveaudio";
if (!f->filetype && sox_find_format("oss" , sox_false)) f->filetype = "oss";
if (!f->filetype && sox_find_format("pulseaudio" , sox_false)) f->filetype = "pulseaudio";
if (!f->filetype && sox_find_format("sunau",sox_false)) f->filetype = "sunau";
if (!f->filetype && sox_find_format("sndio", sox_false)) f->filetype = "sndio";
- if (!f->filetype && sox_find_format("waveaudio" , sox_false)) f->filetype = "waveaudio";
if (!f->filetype && sox_find_format("ao" , sox_false) && file_count) /*!rec*/
f->filetype = "ao";
@@ -2556,7 +2556,8 @@
"-e\tShow the name of the audio encoding\n"
"-a\tShow file comments (annotations) if available\n"
"\n"
- "With no options, as much information as is available is shown\n"
+ "With no options, as much information as is available is shown for\n"
+ "each given file.\n"
);
exit(return_code);
}