xmidi.com
 

MIDIPortConnectSource

Abstract: Establish a connection from a source to a client's input port.

extern OSStatus MIDIPortConnectSource( MIDIPortRef port, 
 MIDIEndpointRef source, 
 void * connRefCon );



Parameters

NameDescription
portThe port to which to create the connection. This port's readProc is called with incoming MIDI from the source.
sourceThe source from which to create the connection.
connRefConThis refCon is passed to the MIDIReadProc, as a way to identify the source.
Result: An OSStatus result code.
{  Search xmidi.com:     }


[ home | docs | apps | links ]