Update for changes in rustc
This commit is contained in:
parent
7389ebf84b
commit
7adfdb4461
4 changed files with 9 additions and 3 deletions
|
|
@ -7,7 +7,7 @@ fn main() {
|
|||
let mut channel = cpal::Voice::new();
|
||||
channel.play();
|
||||
|
||||
let mut decoder = vorbis::Decoder::new(BufReader::new(include_bin!("music.ogg")))
|
||||
let mut decoder = vorbis::Decoder::new(BufReader::new(include_bytes!("music.ogg")))
|
||||
.unwrap();
|
||||
|
||||
'main: for packet in decoder.packets() {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue