Rename my_vag to vag
This commit is contained in:
parent
13b9c55a98
commit
57f2dd0c00
|
@ -1,4 +1,4 @@
|
||||||
pub mod my_vag;
|
pub mod vag;
|
||||||
pub mod xa;
|
pub mod xa;
|
||||||
|
|
||||||
use std::{env, path::PathBuf, process::Command};
|
use std::{env, path::PathBuf, process::Command};
|
||||||
|
|
|
@ -24,7 +24,7 @@ enum SubCommands {
|
||||||
// === Internal Commands ===
|
// === Internal Commands ===
|
||||||
Nothing,
|
Nothing,
|
||||||
SimpleTIM(reduced_tim::Arguments),
|
SimpleTIM(reduced_tim::Arguments),
|
||||||
VAG(my_vag::Arguments),
|
VAG(vag::Arguments),
|
||||||
|
|
||||||
// === External Commands ===
|
// === External Commands ===
|
||||||
XA(xa::Arguments),
|
XA(xa::Arguments),
|
||||||
|
@ -60,7 +60,7 @@ fn run_internal_conversion(cmd: CommandLine) -> Result<(), Error> {
|
||||||
match cmd.sub_command {
|
match cmd.sub_command {
|
||||||
SubCommands::Nothing => nothing::copy(&mut input, dst_buffer),
|
SubCommands::Nothing => nothing::copy(&mut input, dst_buffer),
|
||||||
SubCommands::SimpleTIM(args) => reduced_tim::convert(args, input, dst_buffer),
|
SubCommands::SimpleTIM(args) => reduced_tim::convert(args, input, dst_buffer),
|
||||||
SubCommands::VAG(args) => audio::my_vag::convert(args, &cmd.output_file, input, dst_buffer),
|
SubCommands::VAG(args) => audio::vag::convert(args, &cmd.output_file, input, dst_buffer),
|
||||||
_ => Err(Error::from_str("External functions can not be called for internal conversion"))
|
_ => Err(Error::from_str("External functions can not be called for internal conversion"))
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in New Issue