[osx] Add get_period to Voice
This commit is contained in:
parent
3e776c8dd6
commit
b2635a52c5
|
@ -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() {
|
||||||
|
|
Loading…
Reference in New Issue