[osx] Add get_period to Voice

This commit is contained in:
Ronald Kinard 2016-06-01 01:28:59 -05:00
parent 3e776c8dd6
commit b2635a52c5
1 changed files with 5 additions and 0 deletions

View File

@ -160,6 +160,11 @@ impl Voice {
unimplemented!() unimplemented!()
} }
#[inline]
pub fn get_period(&self) -> usize {
0
}
#[inline] #[inline]
pub fn get_pending_samples(&self) -> usize { pub fn get_pending_samples(&self) -> usize {
if let Some(ready) = self.update_last_ready() { if let Some(ready) = self.update_last_ready() {