mirror of
https://codeberg.org/unspeaker/tek.git
synced 2025-12-07 12:16:42 +01:00
duplicate loop
This commit is contained in:
parent
768c2337e7
commit
2e26fc2eaa
5 changed files with 141 additions and 29 deletions
|
|
@ -123,10 +123,7 @@ impl Track {
|
|||
self.notes_on = notes_on;
|
||||
write_midi_output(&mut self.midi_out.writer(scope), &output, frames);
|
||||
}
|
||||
pub fn add_device (
|
||||
&mut self,
|
||||
mut device: JackDevice,
|
||||
) -> Usually<&mut JackDevice> {
|
||||
pub fn add_device (&mut self, device: JackDevice) -> Usually<&mut JackDevice> {
|
||||
self.devices.push(device);
|
||||
let index = self.devices.len() - 1;
|
||||
Ok(&mut self.devices[index])
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue