aboutsummaryrefslogtreecommitdiffstats
path: root/Game/Code/MacOSX/Wrapper/MidiOut.pas
blob: e57da9d0cc0f2e319dce9b2fa6afe5926e50e241 (plain) (blame)
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
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
unit MidiOut;

{$I switches.inc}

interface

type

  TMidiOutput = class
  public
    ProductName : String;
    Constructor Create(AParent : TObject);
    procedure PutShort(MidiMessage: Byte; Data1: Byte; Data2: Byte); virtual;
    function Open: Boolean; virtual;
    function Close: Boolean; virtual;
    {property MIDIHandle: Hmidiout read FMIDIHandle;
    property DriverVersion: Version read FDriverVersion;
    property Technology: OutPortTech read FTechnology write SetTechnology default opt_Synth;
    property Voices: Word read FVoices;
    property Notes: Word read FNotes;
    property ChannelMask: Word read FChannelMask;
    property Support: DWORD read FSupport;
    property Error: Word read FError;
    property Numdevs: Word read FNumdevs;

    procedure PutMidiEvent(theEvent: TMyMidiEvent); virtual;
    procedure PutLong(TheSysex: Pointer; msgLength: Word); virtual;
    procedure SetVolume(Left: Word; Right: Word);
    constructor Create(AOwner: TComponent); override;
    destructor Destroy; override;

    property ProductName: string read FProductName write SetProductName;

    property DeviceID: Integer read FDeviceID write SetDeviceID default 0;
    property Onmidioutput: TNotifyEvent read FOnmidioutput write FOnmidioutput;}
  end;

implementation

{ TMidiOutput }

function TMidiOutput.Close: Boolean;
begin

end;

constructor TMidiOutput.Create(AParent: TObject);
begin
    ProductName := 'UltraStar MidiOut Wrapper';
end;

function TMidiOutput.Open: Boolean;
begin

end;

procedure TMidiOutput.PutShort(MidiMessage, Data1, Data2: Byte);
begin

end;

end.