diff --git a/src/Tools/psxfileconv/Cargo.toml b/src/Tools/psxfileconv/Cargo.toml index e098b84f..0d440d4f 100644 --- a/src/Tools/psxfileconv/Cargo.toml +++ b/src/Tools/psxfileconv/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "psxfileconv" -version = "0.5.0" +version = "0.6.0" edition = "2021" [profile.release] diff --git a/src/Tools/psxfileconv/src/audio/mod.rs b/src/Tools/psxfileconv/src/audio/mod.rs index 04c19cb1..06690678 100644 --- a/src/Tools/psxfileconv/src/audio/mod.rs +++ b/src/Tools/psxfileconv/src/audio/mod.rs @@ -1,5 +1,4 @@ pub mod my_vag; -pub mod old_vag; pub mod xa; use std::{env, path::PathBuf, process::Command}; diff --git a/src/Tools/psxfileconv/src/audio/old_vag/mod.rs b/src/Tools/psxfileconv/src/audio/old_vag/mod.rs deleted file mode 100644 index f9e9a411..00000000 --- a/src/Tools/psxfileconv/src/audio/old_vag/mod.rs +++ /dev/null @@ -1,22 +0,0 @@ -use clap::Args; -use std::path::PathBuf; -use tool_helper::Error; - -#[derive(Args)] -pub struct Arguments { - frequency: Option -} - -pub fn convert(args: Arguments, input: PathBuf, output: PathBuf) -> Result<(), Error> { - let mut cmd_args = vec!["-t", "vag"]; - let frequency_str; - - if let Some(frequency) = args.frequency { - frequency_str = frequency.to_string().to_owned(); - - cmd_args.push("-f"); - cmd_args.push(frequency_str.as_ref()); - } - - super::run_psxavenc(input, output, cmd_args) -} \ No newline at end of file