From b2635a52c5016a07205dc55d9f4f2bd6a36e3e4e Mon Sep 17 00:00:00 2001 From: Ronald Kinard Date: Wed, 1 Jun 2016 01:28:59 -0500 Subject: [PATCH] [osx] Add get_period to Voice --- src/coreaudio/mod.rs | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/coreaudio/mod.rs b/src/coreaudio/mod.rs index e3b6598..2366f0e 100644 --- a/src/coreaudio/mod.rs +++ b/src/coreaudio/mod.rs @@ -160,6 +160,11 @@ impl Voice { unimplemented!() } + #[inline] + pub fn get_period(&self) -> usize { + 0 + } + #[inline] pub fn get_pending_samples(&self) -> usize { if let Some(ready) = self.update_last_ready() {