apt-decoder/src/main.rs

32 lines
579 B
Rust
Raw Normal View History

2022-02-13 18:14:52 +01:00
#![windows_subsystem = "windows"]
2022-02-09 17:41:04 +01:00
extern crate eframe;
2016-11-23 23:37:39 +01:00
extern crate hound;
extern crate image;
2022-02-09 17:41:04 +01:00
extern crate rfd;
2016-11-23 23:37:39 +01:00
2016-11-24 19:40:22 +01:00
mod amdemod;
mod aptsyncer;
mod decoder;
2022-02-09 17:41:04 +01:00
mod firfilter;
mod resamplers;
mod ui;
2022-02-09 17:41:04 +01:00
mod utils;
2016-11-24 02:05:10 +01:00
use ui::DecoderApp;
2016-11-28 10:59:32 +01:00
2022-02-09 17:41:04 +01:00
fn main() {
let app = DecoderApp::default();
let native_options = eframe::NativeOptions::default();
eframe::run_native(Box::new(app), native_options);
//let args: Vec<String> = std::env::args().collect();
2022-02-09 17:41:04 +01:00
/*
if args.len() != 3 {
println!("Usage: {} <wav file> <output file>", args[0]);
return;
}
2022-02-09 17:41:04 +01:00
*/
2016-11-23 23:37:39 +01:00
}