Add Voice::get_period()
This commit is contained in:
parent
6c72a7c08b
commit
c93ffcff6c
5 changed files with 36 additions and 7 deletions
|
|
@ -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();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue