diff options
Diffstat (limited to 'src/adlmidi.cpp')
-rw-r--r-- | src/adlmidi.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/adlmidi.cpp b/src/adlmidi.cpp index 11b7c9b..d16fab5 100644 --- a/src/adlmidi.cpp +++ b/src/adlmidi.cpp @@ -40,7 +40,7 @@ ADLMIDI_EXPORT struct ADL_MIDIPlayer *adl_init(long sample_rate) midi_device->AdlPercussionMode = 0; midi_device->LogarithmicVolumes = 0; midi_device->SkipForward = 0; - midi_device->QuitWithoutLooping = 0; + midi_device->loopingIsEnabled = 0; midi_device->ScaleModulators = 0; midi_device->delay = 0.0; midi_device->carry = 0.0; @@ -177,8 +177,7 @@ ADLMIDI_EXPORT void adl_setScaleModulators(ADL_MIDIPlayer *device, int smod) ADLMIDI_EXPORT void adl_setLoopEnabled(ADL_MIDIPlayer *device, int loopEn) { if(!device) return; - - device->QuitWithoutLooping = (loopEn == 0); + device->loopingIsEnabled = (loopEn != 0); } ADLMIDI_EXPORT void adl_setLogarithmicVolumes(struct ADL_MIDIPlayer *device, int logvol) |