Rename Channel to Voice
This commit is contained in:
parent
094dbef0e4
commit
04f9aac2c3
5 changed files with 21 additions and 21 deletions
|
|
@ -4,7 +4,7 @@ extern crate vorbis;
|
|||
use std::io::BufReader;
|
||||
|
||||
fn main() {
|
||||
let mut channel = cpal::Channel::new();
|
||||
let mut channel = cpal::Voice::new();
|
||||
|
||||
let mut decoder = vorbis::Decoder::new(BufReader::new(include_bin!("music.ogg")))
|
||||
.unwrap();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue