Add an underflow() method to Voice

This commit is contained in:
Pierre Krieger 2015-09-10 21:03:40 +02:00
parent 36b1a6d016
commit c5e2cdd3c5
4 changed files with 24 additions and 0 deletions

View file

@ -70,6 +70,10 @@ impl Voice {
pub fn pause(&mut self) {
}
pub fn underflowed(&self) -> bool {
false
}
}
pub struct Buffer<'a, T: 'a> {