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;
|
2016-11-25 00:54:42 +01:00
|
|
|
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;
|
2016-11-26 00:12:10 +01:00
|
|
|
mod aptsyncer;
|
2022-02-09 21:28:26 +01:00
|
|
|
mod decoder;
|
2022-02-09 17:41:04 +01:00
|
|
|
mod firfilter;
|
|
|
|
mod resamplers;
|
2022-02-09 21:28:26 +01:00
|
|
|
mod ui;
|
2022-02-09 17:41:04 +01:00
|
|
|
mod utils;
|
2016-11-24 02:05:10 +01:00
|
|
|
|
2022-02-09 21:28:26 +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);
|
|
|
|
|
2022-02-09 21:28:26 +01:00
|
|
|
//let args: Vec<String> = std::env::args().collect();
|
2022-02-09 17:41:04 +01:00
|
|
|
|
2022-02-09 21:28:26 +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
|
|
|
}
|