Update psxfileconv

This commit is contained in:
jaby 2024-12-17 21:35:33 +01:00
parent 9b8921bb47
commit 132f8925f4
8 changed files with 5 additions and 5 deletions

View File

@ -1,6 +1,6 @@
[package] [package]
name = "psxfileconv" name = "psxfileconv"
version = "0.6.0" version = "0.7.5"
edition = "2021" edition = "2021"
[profile.release] [profile.release]

View File

@ -1,2 +1,2 @@
pub mod my_xa; pub mod xa;
pub mod vag; pub mod vag;

View File

@ -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 cdtypes::types::sector::{Mode2Form2, XAADPCMBitsPerSample, XAADPCMSampleRate, XAADPCMSound};
use tool_helper::Error; use tool_helper::Error;

View File

@ -25,7 +25,7 @@ enum SubCommands {
Nothing, Nothing,
SimpleTIM(reduced_tim::Arguments), SimpleTIM(reduced_tim::Arguments),
VAG(vag::Arguments), VAG(vag::Arguments),
XA(my_xa::Arguments), XA(xa::Arguments),
} }
fn run_main(cmd: CommandLine) -> Result<(), Error> { 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::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::vag::convert(args, &cmd.output_file, 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),
} }
}; };