feat(snd): simplify audio buffer
All checks were successful
continuous-integration/drone/push Build is passing
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:
@@ -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) {
|
||||
|
Reference in New Issue
Block a user