Replace example by a smaller one

This commit is contained in:
Pierre Krieger 2014-12-17 06:59:03 +01:00
parent d793b0ad22
commit 2d091726d7
4 changed files with 4 additions and 1 deletions

3
examples/README.md Normal file
View File

@ -0,0 +1,3 @@
## License
The `music.ogg` file in this directory is under cc-by-sa.

Binary file not shown.

BIN
examples/music.ogg Normal file

Binary file not shown.

View File

@ -6,7 +6,7 @@ use std::io::BufReader;
fn main() {
let mut channel = cpal::Channel::new();
let mut decoder = vorbis::Decoder::new(BufReader::new(include_bin!("mozart_symfony_40.ogg")))
let mut decoder = vorbis::Decoder::new(BufReader::new(include_bin!("music.ogg")))
.unwrap();
'main: for packet in decoder.packets() {