blob: 563288949792edb8e0afe4ea648e1ffa47ce5614 (
plain)
1
2
3
4
5
6
7
8
9
|
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();
println!("{} frames", breaker.frames.len());
}
|