shithub: sox

Download patch

ref: 0e12417f045bab8842fe2031548074bbb8b693e1
parent: 8340b9510a5dbb80b2ee4a0c35a5bebf30e33590
author: robs <robs>
date: Wed Dec 27 05:40:28 EST 2006

Manual updates & cdda extension

--- a/sox.1
+++ b/sox.1
@@ -384,8 +384,10 @@
 is actually an audio device.
 .TP
 \fB\-X\fR, \fB\-\-reverse\-bits\fR
-Specified that the bit ordering should be reversed; available for use
-with few formats.
+Specifies that the bit ordering should be reversed; currently only used
+with the
+.B cvsd
+format.
 .TP
 \fB\-s\fR\^/\fB\-u\fR\^/\fB\-U\fR\^/\fB\-A\fR\^/\fB\-a\fR\^/\fB\-i\fR\^/\fB\-g\fR\^/\fB\-f\fR
 The audio data encoding is signed linear (2's complement),
@@ -508,14 +510,14 @@
 The AVR format is produced by a number of commercial packages
 on the Mac.
 .TP
-.B .cdr
-CD-R.  CD-R files are used in mastering music on Compact Disks.
-The audio data on a CD-R disk is a raw audio file
-with a format of stereo 16-bit signed samples at a 44.1kHz sample
-rate.  There is a special blocking/padding oddity at the end
-of the audio file, which is why it needs its own handler.
+\&\fB.cdda\fR, \fB.cdr\fR
+`Red Book' Compact Disc Digital Audio.
+CDDA has two audio channels formatted as 16-bit
+signed integers at a sample rate of 44.1kHz.  The number of (stereo)
+samples in each CDDA track is always a multiple of 588 which is why it
+needs its own handler.
 .TP
-.B .cvs
+\&\fB.cvsd\fR, \fB.cvs\fR
 Continuously Variable Slope Delta modulation.
 Used to compress speech audio for applications such as voice mail.
 This format can use the
@@ -551,8 +553,8 @@
 below for information relating to support for Ogg
 Vorbis files.]
 .SP
-SoX has rudimentary support for writing FLAC files: it can encode to
-native FLAC using compression levels 0 to 8. 8 is the default
+SoX has basic support for writing FLAC files: it can encode to
+native FLAC using compression levels 0 to 8.  8 is the default
 compression level and gives the best (but slowest) compression;
 0 gives the least (but fastest) compression.  The compression
 level can be selected using the
--- a/src/cdr.c
+++ b/src/cdr.c
@@ -147,6 +147,7 @@
 }
 
 static const char *cdrnames[] = {
+  "cdda",
   "cdr",
   NULL
 };