mirror of
https://github.com/thestk/stk
synced 2026-01-14 21:41:53 +00:00
Version 4.3.1
This commit is contained in:
committed by
Stephen Sinclair
parent
27d9b79dc7
commit
d199342e86
@@ -8,7 +8,7 @@
|
||||
RtMidi WWW site: http://music.mcgill.ca/~gary/rtmidi/
|
||||
|
||||
RtMidi: realtime MIDI i/o C++ classes
|
||||
Copyright (c) 2003-2005 Gary P. Scavone
|
||||
Copyright (c) 2003-2007 Gary P. Scavone
|
||||
|
||||
Permission is hereby granted, free of charge, to any person
|
||||
obtaining a copy of this software and associated documentation files
|
||||
@@ -35,7 +35,7 @@
|
||||
*/
|
||||
/**********************************************************************/
|
||||
|
||||
// RtMidi: Version 1.0.5, in development
|
||||
// RtMidi: Version 1.0.7
|
||||
|
||||
#include "RtMidi.h"
|
||||
#include <sstream>
|
||||
@@ -768,12 +768,9 @@ extern "C" void *alsaMidiHandler( void *ptr )
|
||||
else
|
||||
message.bytes.insert( message.bytes.end(), buffer, &buffer[nBytes] );
|
||||
|
||||
if ( ev->type == SND_SEQ_EVENT_SYSEX && message.bytes.back() == 0xF7 )
|
||||
continueSysex = false;
|
||||
else {
|
||||
continueSysex = true;
|
||||
continueSysex = ( ev->type == SND_SEQ_EVENT_SYSEX && message.bytes.back() != 0xF7 );
|
||||
if ( continueSysex )
|
||||
break;
|
||||
}
|
||||
|
||||
// Calculate the time stamp:
|
||||
message.timeStamp = 0.0;
|
||||
@@ -1926,7 +1923,7 @@ std::string RtMidiIn :: getPortName( unsigned int portNumber )
|
||||
}
|
||||
|
||||
MIDIINCAPS deviceCaps;
|
||||
MMRESULT result = midiInGetDevCaps( portNumber, &deviceCaps, sizeof(MIDIINCAPS));
|
||||
midiInGetDevCaps( portNumber, &deviceCaps, sizeof(MIDIINCAPS));
|
||||
|
||||
// For some reason, we need to copy character by character with
|
||||
// UNICODE (thanks to Eduardo Coutinho!).
|
||||
@@ -1960,7 +1957,7 @@ std::string RtMidiOut :: getPortName( unsigned int portNumber )
|
||||
}
|
||||
|
||||
MIDIOUTCAPS deviceCaps;
|
||||
MMRESULT result = midiOutGetDevCaps( portNumber, &deviceCaps, sizeof(MIDIOUTCAPS));
|
||||
midiOutGetDevCaps( portNumber, &deviceCaps, sizeof(MIDIOUTCAPS));
|
||||
|
||||
// For some reason, we need to copy character by character with
|
||||
// UNICODE (thanks to Eduardo Coutinho!).
|
||||
|
||||
Reference in New Issue
Block a user