Support XA-Audio (buggy)
This commit is contained in:
@@ -23,13 +23,6 @@ impl Quality {
|
||||
Self::High => 37800,
|
||||
}
|
||||
}
|
||||
|
||||
fn get_bith_depth(&self) -> u64 {
|
||||
match self {
|
||||
Self::Low => 4,
|
||||
Self::High => 8,
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
#[derive(Copy, Clone, ValueEnum)]
|
||||
@@ -67,7 +60,7 @@ pub fn convert(args: Arguments, input: PathBuf, output: PathBuf) -> Result<(), E
|
||||
let result = Command::new(tool_path).args([
|
||||
"-t", "xacd",
|
||||
"-f", quality.get_frequency().to_string().as_ref(),
|
||||
"-b", quality.get_bith_depth().to_string().as_ref(),
|
||||
"-b", "4",
|
||||
"-c", sample.get_channel().to_string().as_ref(),
|
||||
"-F", "0",
|
||||
"-C", "0",
|
||||
|
||||
Reference in New Issue
Block a user