1
0
Fork 0

Remove unnecessary cast

This commit is contained in:
Robbert van der Helm 2023-02-02 20:03:43 +01:00
parent 32f981b1f6
commit bea1a6028b

View file

@ -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)) => {