Add Voice::get_period()

This commit is contained in:
Pierre Krieger 2015-09-27 13:00:17 +02:00
parent 6c72a7c08b
commit c93ffcff6c
5 changed files with 36 additions and 7 deletions

View file

@ -193,6 +193,11 @@ impl Voice {
}
}
#[inline]
pub fn get_period(&self) -> usize {
0
}
pub fn get_pending_samples(&self) -> usize {
unsafe {
let mut padding = mem::uninitialized();