SysEx data now passed around with const pointers. Permits simplification of some SysEx client code.
Testing on Windows. Developers on other platforms, please verify integrity of music handling in your respective MidiDrivers. svn-id: r20952
This commit is contained in:
parent
2d2258f596
commit
2469e00248
16 changed files with 41 additions and 41 deletions
|
@ -50,7 +50,7 @@ public:
|
|||
int open();
|
||||
void close();
|
||||
void send(uint32 b);
|
||||
void sysEx(byte *msg, uint16 length);
|
||||
void sysEx(const byte *msg, uint16 length);
|
||||
|
||||
private:
|
||||
MIDIClientRef mClient;
|
||||
|
@ -149,7 +149,7 @@ void MidiDriver_CoreMIDI::send(uint32 b) {
|
|||
MIDISend(mOutPort, mDest, &packetList);
|
||||
}
|
||||
|
||||
void MidiDriver_CoreMIDI::sysEx(byte *msg, uint16 length) {
|
||||
void MidiDriver_CoreMIDI::sysEx(const byte *msg, uint16 length) {
|
||||
assert(mOutPort != NULL);
|
||||
assert(mDest != NULL);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue