mirror of
https://codeberg.org/unspeaker/tek.git
synced 2025-12-09 05:06:43 +01:00
wip: refactor pt.23: 47 errors
This commit is contained in:
parent
e7e57cea1e
commit
ff4698d046
3 changed files with 31 additions and 83 deletions
|
|
@ -18,24 +18,3 @@ impl<'a, T: ArrangerModelApi + Send + Sync> Audio for ArrangerRefAudio<'a, T> {
|
|||
Control::Continue
|
||||
}
|
||||
}
|
||||
|
||||
//pub struct ArrangerAudio(pub Arc<RwLock<ArrangerModel>>);
|
||||
|
||||
//impl Audio for ArrangerAudio {
|
||||
//#[inline] fn process (&mut self, client: &Client, scope: &ProcessScope) -> Control {
|
||||
//ArrangerRefAudio(&mut*self.0.write().unwrap()).process(client, scope)
|
||||
//}
|
||||
//}
|
||||
|
||||
//pub struct ArrangerRefAudio<'a>(pub &'a mut ArrangerModel);
|
||||
|
||||
//impl<'a> Audio for ArrangerRefAudio<'a> {
|
||||
//#[inline] fn process (&mut self, client: &Client, scope: &ProcessScope) -> Control {
|
||||
//for track in self.0.tracks.iter_mut() {
|
||||
//if MIDIPlayerAudio::from(&mut track.player).process(client, scope) == Control::Quit {
|
||||
//return Control::Quit
|
||||
//}
|
||||
//}
|
||||
//Control::Continue
|
||||
//}
|
||||
//}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue