coremidi-sys 3.2.0

Low-level FFI bindings for the CoreMIDI framework
Documentation
1
2
3
4
5
6
7
8
9
10
extern crate coremidi_sys as cm;

fn main()
{
    let src: u64 = unsafe { cm::MIDIGetNumberOfSources() };
    let dest: u64 = unsafe { cm::MIDIGetNumberOfDestinations() };

    println!("Number of MIDI sources: {}", src);
    println!("Number of MIDI destinations: {}", dest);
}