diff options
Diffstat (limited to 'gaudio/src/main.rs')
-rw-r--r-- | gaudio/src/main.rs | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/gaudio/src/main.rs b/gaudio/src/main.rs new file mode 100644 index 0000000..7d881b8 --- /dev/null +++ b/gaudio/src/main.rs @@ -0,0 +1,8 @@ +mod mp3; + +fn main() { + let file = std::env::args().nth(1).unwrap(); + let data = std::fs::read(file).unwrap(); + let mut breaker = mp3::Breaker::new(); + breaker.split(data).unwrap(); +} |