Replace example by a smaller one
This commit is contained in:
parent
d793b0ad22
commit
2d091726d7
3
examples/README.md
Normal file
3
examples/README.md
Normal 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
BIN
examples/music.ogg
Normal file
Binary file not shown.
@ -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() {
|
||||
|
Loading…
x
Reference in New Issue
Block a user