mirror of
https://codeberg.org/unspeaker/tek.git
synced 2025-12-07 12:16:42 +01:00
replace top level mutex with rw lock
This commit is contained in:
parent
33de8bbf1d
commit
2989c79fd0
5 changed files with 21 additions and 15 deletions
|
|
@ -63,7 +63,7 @@ impl Phrase {
|
|||
_ => {}
|
||||
}
|
||||
LiveEvent::Midi { channel, message }.write(&mut buf).unwrap();
|
||||
let t = *time as usize;
|
||||
let t = *time as usize; // FIXME miscalculated, skipping notes
|
||||
output[t].push(buf);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue