mirror of
https://github.com/robbert-vdh/nih-plug.git
synced 2026-07-01 02:36:54 +00:00
Remove unnecessary cast
This commit is contained in:
@@ -136,7 +136,7 @@ impl<P: Plugin> Backend<P> for Jack {
|
||||
let mut midi_writer = midi_output.writer(ps);
|
||||
for event in output_events.drain(..) {
|
||||
// Out of bounds events are clamped to the buffer's size
|
||||
let timing = clamp_output_event_timing(event.timing(), num_frames as u32);
|
||||
let timing = clamp_output_event_timing(event.timing(), num_frames);
|
||||
|
||||
match event.as_midi() {
|
||||
Some(MidiResult::Basic(midi_data)) => {
|
||||
|
||||
Reference in New Issue
Block a user