mirror of
https://github.com/iluvcapra/bwavfile.git
synced 2026-01-02 09:50:44 +00:00
Twiddles
This commit is contained in:
@@ -250,8 +250,12 @@ fn main() -> io::Result<()> {
|
|||||||
)
|
)
|
||||||
.get_matches();
|
.get_matches();
|
||||||
|
|
||||||
let sample_rate = matches.value_of("sample_rate").unwrap().parse::<u32>().expect("Failed to read sample rate");
|
let sample_rate = matches.value_of("sample_rate").unwrap().parse::<u32>()
|
||||||
let bits_per_sample = matches.value_of("bit_depth").unwrap().parse::<u16>().expect("Failed to read bit depth");
|
.expect("Failed to read sample rate");
|
||||||
|
|
||||||
|
let bits_per_sample = matches.value_of("bit_depth").unwrap().parse::<u16>()
|
||||||
|
.expect("Failed to read bit depth");
|
||||||
|
|
||||||
let filename = matches.value_of("OUTPUT").unwrap();
|
let filename = matches.value_of("OUTPUT").unwrap();
|
||||||
|
|
||||||
match create_blits_file(&filename, sample_rate, bits_per_sample) {
|
match create_blits_file(&filename, sample_rate, bits_per_sample) {
|
||||||
|
|||||||
Reference in New Issue
Block a user