Add play() and pause() functions

This commit is contained in:
Pierre Krieger 2014-12-22 14:16:47 +01:00
parent 6e1d047320
commit d947014084
5 changed files with 88 additions and 30 deletions

View file

@ -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 {