Replace example by a smaller one
This commit is contained in:
parent
d793b0ad22
commit
2d091726d7
|
@ -0,0 +1,3 @@
|
|||
## License
|
||||
|
||||
The `music.ogg` file in this directory is under cc-by-sa.
|
Binary file not shown.
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…
Reference in New Issue