pub unsafe extern "C" fn snd_midi_event_encode(
    dev: *mut snd_midi_event_t,
    buf: *const c_uchar,
    count: c_long,
    ev: *mut snd_seq_event_t
) -> c_long