Update psxfileconv
This commit is contained in:
parent
12836a135b
commit
ef3a95bb55
|
@ -1,6 +1,6 @@
|
|||
[package]
|
||||
name = "psxfileconv"
|
||||
version = "0.6.0"
|
||||
version = "0.7.5"
|
||||
edition = "2021"
|
||||
|
||||
[profile.release]
|
||||
|
|
|
@ -1,2 +1,2 @@
|
|||
pub mod my_xa;
|
||||
pub mod xa;
|
||||
pub mod vag;
|
|
@ -1,4 +1,4 @@
|
|||
use crate::audio::my_xa::{raw_audio::{CDAudioSamples, Orality}, Frequency, SampleDepth};
|
||||
use crate::audio::xa::{raw_audio::{CDAudioSamples, Orality}, Frequency, SampleDepth};
|
||||
use cdtypes::types::sector::{Mode2Form2, XAADPCMBitsPerSample, XAADPCMSampleRate, XAADPCMSound};
|
||||
use tool_helper::Error;
|
||||
|
|
@ -25,7 +25,7 @@ enum SubCommands {
|
|||
Nothing,
|
||||
SimpleTIM(reduced_tim::Arguments),
|
||||
VAG(vag::Arguments),
|
||||
XA(my_xa::Arguments),
|
||||
XA(xa::Arguments),
|
||||
}
|
||||
|
||||
fn run_main(cmd: CommandLine) -> Result<(), Error> {
|
||||
|
@ -47,7 +47,7 @@ fn run_main(cmd: CommandLine) -> Result<(), Error> {
|
|||
SubCommands::Nothing => nothing::copy(&mut input, dst_buffer),
|
||||
SubCommands::SimpleTIM(args) => reduced_tim::convert(args, input, dst_buffer),
|
||||
SubCommands::VAG(args) => audio::vag::convert(args, &cmd.output_file, input, dst_buffer),
|
||||
SubCommands::XA(args) => audio::my_xa::convert(args, input, dst_buffer),
|
||||
SubCommands::XA(args) => audio::xa::convert(args, input, dst_buffer),
|
||||
}
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in New Issue