fix(snd): replace Audio Sync solution with a faster one
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
2021-07-14 22:35:37 -05:00
parent 2b5926e533
commit 08bd33b4d4
3 changed files with 62 additions and 25 deletions

View File

@@ -70,8 +70,12 @@ impl Bus {
self.snd.set_audio_src(sender)
}
pub(crate) fn is_mpsc_still_full(&mut self) -> bool {
self.snd.is_mpsc_still_full()
pub(crate) fn is_full(&self) -> bool {
self.snd.is_full()
}
pub(crate) fn flush_samples(&mut self) {
self.snd.flush_samples()
}
pub(crate) fn clock(&mut self) {