forked from mixedinkey-opensource/MIKMIDI
-
Notifications
You must be signed in to change notification settings - Fork 0
/
MIKMIDIOutputPort.h
30 lines (22 loc) · 893 Bytes
/
MIKMIDIOutputPort.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
//
// MIKMIDIOutputPort.h
// MIDI Testbed
//
// Created by Andrew Madsen on 3/8/13.
// Copyright (c) 2013 Mixed In Key. All rights reserved.
//
#import "MIKMIDIPort.h"
#import "MIKMIDICompilerCompatibility.h"
@class MIKMIDICommand;
@class MIKMIDIDestinationEndpoint;
NS_ASSUME_NONNULL_BEGIN
/**
* MIKMIDIOutputPort is an Objective-C wrapper for CoreMIDI's MIDIPort class, and is only for destination ports.
* It is not intended for use by clients/users of of MIKMIDI. Rather, it should be thought of as an
* MIKMIDI private class.
*/
@interface MIKMIDIOutputPort : MIKMIDIPort
- (BOOL)sendCommands:(MIKArrayOf(MIKMIDICommand *) *)commands toDestination:(MIKMIDIDestinationEndpoint *)destination error:(NSError **)error;
- (BOOL)sendCommand:(MIKMIDICommand *)command toDestination:(MIKMIDIDestinationEndpoint *)destination error:(NSError **)error;
@end
NS_ASSUME_NONNULL_END