feat(snd): simplify audio buffer
All checks were successful
continuous-integration/drone/push Build is passing

The audio buffer now is held by crossbeam. The developers of said
library could write a batter queue than I could anyday
This commit is contained in:
2021-07-11 23:48:16 -05:00
parent 3754325e30
commit b13444c885
3 changed files with 29 additions and 108 deletions

View File

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