aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2014-06-26 04:35:27 -0700
committerChris Robinson <[email protected]>2014-06-26 04:35:51 -0700
commitd19e42a723231d63da777d51a3b036683b42e702 (patch)
tree196785535c3b7b0636e1de8aa0b301aa397a17c8
parentb9462bbe3c8c56c928ef59a6ff2a9b3699557706 (diff)
Don't require MIDI sysex data to have the high bit clear
-rw-r--r--OpenAL32/alMidi.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/OpenAL32/alMidi.c b/OpenAL32/alMidi.c
index 6313523e..015b1915 100644
--- a/OpenAL32/alMidi.c
+++ b/OpenAL32/alMidi.c
@@ -101,18 +101,12 @@ AL_API void AL_APIENTRY alMidiSysExSOFT(ALuint64SOFT time, const ALbyte *data, A
ALCdevice *device;
ALCcontext *context;
ALenum err;
- ALsizei i;
context = GetContextRef();
if(!context) return;
if(!data || size < 0)
SET_ERROR_AND_GOTO(context, AL_INVALID_VALUE, done);
- for(i = 0;i < size;i++)
- {
- if((data[i]&0x80))
- SET_ERROR_AND_GOTO(context, AL_INVALID_VALUE, done);
- }
device = context->Device;
ALCdevice_Lock(device);