pub fn push_midi_event<const MAX_SIZE: usize>(
        &mut self,
        time_in_frames: i64,
        midi_uri: lv2_raw::LV2Urid,
        data: &[u8],
    ) -> Result<(), EventError> {
        let event = LV2AtomEventBuilder::<MAX_SIZE>::new_midi(time_in_frames, midi_uri, data)?;
        self.push_event(&event)
    }
/// Push a new midi event into the sequence. The `midi_data` must be of size
/// `MAX_SIZE` or smaller. If this is not the case, an error is returned.
///
/// # Errors
/// Returns an error if the midi data is too large.
Push a new midi event into the sequence. The `midi_data` must be of size
`MAX_SIZE` or smaller. If this is not the case, an error is returned.
Push a new midi event into the sequence . The ` midi_data ` must be of size ` MAX_SIZE ` or smaller . If this is not the case an error is returned .
pub fn push_midi_event<const MAX_SIZE: usize>(
        &mut self,
        time_in_frames: i64,
        midi_uri: lv2_raw::LV2Urid,
        data: &[u8],
    ) -> Result<(), EventError> {
        let event = LV2AtomEventBuilder::<MAX_SIZE>::new_midi(time_in_frames, midi_uri, data)?;
        self.push_event(&event)
    }
pub fn push_midi_event < const MAX_SIZE : usize > ( & mut self , time_in_frames : i64 , midi_uri : lv2_raw :: LV2Urid , data : & [ u8 ] , ) -> Result < ( ) , EventError > { let event = LV2AtomEventBuilder :: < MAX_SIZE > :: new_midi ( time_in_frames , midi_uri , data ) ? ; self . push_event ( & event ) }
Push a new midi event into the sequence.
Push a new midi event into the sequence .
&mut self
time_in_frames
i64
midi_uri
lv2_raw::LV2Urid
data
&[u8]
&mut self
time_in_frames
i64
midi_uri
lv2_raw::LV2Urid
data
&[u8]
errors
Returns an error if the midi data is too large.
Returns an error if the midi data is too large .