mirror of
https://codeberg.org/unspeaker/tek.git
synced 2026-01-12 11:06:41 +01:00
12 lines
411 B
Rust
12 lines
411 B
Rust
use crate::*;
|
|
impl<E: Engine> Audio for Arranger<E> {
|
|
fn process (&mut self, client: &Client, scope: &ProcessScope) -> Control {
|
|
if let Some(ref transport) = self.transport {
|
|
transport.write().unwrap().process(client, scope);
|
|
}
|
|
for track in self.arrangement.tracks.iter_mut() {
|
|
track.player.process(client, scope);
|
|
}
|
|
Control::Continue
|
|
}
|
|
}
|