@@ -95,11 +95,11 @@ struct Cli {
9595 #[ arg( short = 'i' , long = "inrate" , default_value = "1" ) ]
9696 input_rate : u32 ,
9797
98- /// Output type: S (stdout), A (aif), W (wave), F (flac)
99- /// Note that W, A, or F outputs to either
100- /// <basename>.[wav|aif|flac] in current directory,
98+ /// Output type: S (stdout), A (aif), C (aifc), W (wave), F (flac)
99+ /// Note that W, A, C, or F outputs to either
100+ /// <basename>.[wav|aif|aifc| flac] in current directory,
101101 /// where <basename> is the input filename
102- /// without the extension, or output.[wav|aif|flac]
102+ /// without the extension, or output.[wav|aif|aifc| flac]
103103 /// (if reading from stdin.)
104104 #[ arg( short = 'o' , long = "output" , default_value = "S" ) ]
105105 output : char ,
@@ -207,6 +207,7 @@ fn run() -> Result<(), Box<dyn Error>> {
207207 let output = match cli. output . to_ascii_lowercase ( ) {
208208 's' => OutputType :: Stdout ,
209209 'a' => OutputType :: Aiff ,
210+ 'c' => OutputType :: Aifc ,
210211 'w' => OutputType :: Wav ,
211212 'f' => OutputType :: Flac ,
212213 _ => OutputType :: Stdout ,
0 commit comments