Remove unnecessary cast
This commit is contained in:
parent
32f981b1f6
commit
bea1a6028b
|
@ -136,7 +136,7 @@ impl<P: Plugin> Backend<P> for Jack {
|
||||||
let mut midi_writer = midi_output.writer(ps);
|
let mut midi_writer = midi_output.writer(ps);
|
||||||
for event in output_events.drain(..) {
|
for event in output_events.drain(..) {
|
||||||
// Out of bounds events are clamped to the buffer's size
|
// 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() {
|
match event.as_midi() {
|
||||||
Some(MidiResult::Basic(midi_data)) => {
|
Some(MidiResult::Basic(midi_data)) => {
|
||||||
|
|
Loading…
Reference in a new issue