Add play() and pause() functions
This commit is contained in:
parent
6e1d047320
commit
d947014084
5 changed files with 88 additions and 30 deletions
|
|
@ -63,6 +63,15 @@ impl Voice {
|
|||
buffer: Vec::from_elem(elements, unsafe { mem::uninitialized() })
|
||||
}
|
||||
}
|
||||
|
||||
pub fn play(&mut self) {
|
||||
// already playing
|
||||
//unimplemented!()
|
||||
}
|
||||
|
||||
pub fn pause(&mut self) {
|
||||
unimplemented!()
|
||||
}
|
||||
}
|
||||
|
||||
impl Drop for Voice {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue