diff options
author | Wohlstand <admin@wohlnet.ru> | 2016-12-07 11:32:47 +0300 |
---|---|---|
committer | Wohlstand <admin@wohlnet.ru> | 2016-12-07 11:32:47 +0300 |
commit | fd24385f027c06e16ea2edda6a74ab424bb0290e (patch) | |
tree | fcba457afb21ed2c6c69413c4247fada4ba56be0 /src | |
parent | 67c09baa578d68afd2103aa5d5bff36a09db3d28 (diff) | |
download | libADLMIDI-fd24385f027c06e16ea2edda6a74ab424bb0290e.tar.gz libADLMIDI-fd24385f027c06e16ea2edda6a74ab424bb0290e.tar.bz2 libADLMIDI-fd24385f027c06e16ea2edda6a74ab424bb0290e.zip |
Ouch (fixed inverted loop flag, reported in issue #3)
Diffstat (limited to 'src')
-rw-r--r-- | src/adlmidi.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/adlmidi.cpp b/src/adlmidi.cpp index 61b6daa..02e78c6 100644 --- a/src/adlmidi.cpp +++ b/src/adlmidi.cpp @@ -2610,7 +2610,7 @@ ADLMIDI_EXPORT void adl_setLoopEnabled(ADL_MIDIPlayer *device, int loopEn) { if(!device) return; - device->QuitWithoutLooping = (loopEn != 0); + device->QuitWithoutLooping = (loopEn == 0); } ADLMIDI_EXPORT void adl_setLogarithmicVolumes(struct ADL_MIDIPlayer *device, int logvol) |