From fd24385f027c06e16ea2edda6a74ab424bb0290e Mon Sep 17 00:00:00 2001 From: Wohlstand Date: Wed, 7 Dec 2016 11:32:47 +0300 Subject: Ouch (fixed inverted loop flag, reported in issue #3) --- src/adlmidi.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/adlmidi.cpp') 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) -- cgit v1.2.3