fix(apu): incremental improvements to APU accuracy
Some checks failed
continuous-integration/drone/push Build is failing
Some checks failed
continuous-integration/drone/push Build is failing
This commit is contained in:
@@ -43,9 +43,17 @@ impl<T> SampleProducer<T> {
|
||||
self.inner.push(value)
|
||||
}
|
||||
|
||||
pub(crate) fn two_available(&self) -> bool {
|
||||
pub(crate) fn available(&self) -> bool {
|
||||
self.inner.slots() > 2
|
||||
}
|
||||
|
||||
pub(crate) fn available_block(&self) -> bool {
|
||||
loop {
|
||||
if self.inner.slots() > 2 {
|
||||
break true;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
impl<T> std::fmt::Debug for SampleProducer<T> {
|
||||
|
Reference in New Issue
Block a user