Skip to content

Commit 15208ad

Browse files
authored
Merge pull request #26 from clone206/feature/20260226-aifc-support
Feature/20260226 aifc support
2 parents 375a78f + 48a2888 commit 15208ad

3 files changed

Lines changed: 7 additions & 6 deletions

File tree

Cargo.lock

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "dsd2dxd"
3-
version = "2.6.0"
3+
version = "2.7.0"
44
edition = "2024"
55

66
[dependencies]

src/main.rs

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -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

Comments
 (0)