svn-id: r18484
This commit is contained in:
Max Horn 2005-07-02 13:01:59 +00:00
parent 9d00744954
commit bf507bfa11
2 changed files with 2 additions and 2 deletions

View File

@ -79,7 +79,7 @@ MidiDriver_CORE::~MidiDriver_CORE() {
}
int MidiDriver_CORE::open() {
if (au_output != NULL)
if (au_output || mDest)
return MERR_ALREADY_OPEN;
OSStatus err = noErr;

View File

@ -88,7 +88,7 @@ void MidiDriver_WIN::send(uint32 b) {
check_error(midiOutShortMsg(_mo, u.dwData));
}
void MidiDriver_WIN::sysEx (byte *msg, uint16 length) {
void MidiDriver_WIN::sysEx(byte *msg, uint16 length) {
if (!_isOpen)
return;