MIDIOutputPortCreate

Abstract: Create an output port through which the client may send outgoing MIDI messages to any MIDI destination.

extern OSStatus MIDIOutputPortCreate( MIDIClientRef client, 
 CFStringRef portName, 
 MIDIPortRef * outPort );

Output ports provide a mechanism for MIDI merging. The system assumes that each output port will be responsible for sending only a single MIDI stream to each destination, although a single port may address all of the destinations in the system.

Parameters

NameDescription
clientThe client to own the newly-created port
portNameThe name of the port.
outPortOn successful return, points to the newly-created MIDIPort.
Result: An OSStatus result code.


[ Search xmidi.com:    ]


[ home | docs | apps | links ]