From 380d08e1a234efb17cf15a6b6c2d00c52e4fc648 Mon Sep 17 00:00:00 2001 From: Wohlstand Date: Wed, 18 Oct 2017 02:22:01 +0300 Subject: Smooth finalizing, rewinding, and a bit more crash safety * Smooth finalizing of song when loop is disabled (old ugly hack has been removed :wink:) * Added an ability to reset song position to begin (very helpful when song reaches the end) * Avoided possible crashes on attempt to fetch sample data without opening of MIDI file --- libADLMIDI-test.pro | 3 +++ 1 file changed, 3 insertions(+) (limited to 'libADLMIDI-test.pro') diff --git a/libADLMIDI-test.pro b/libADLMIDI-test.pro index d83b80f..880d6b7 100644 --- a/libADLMIDI-test.pro +++ b/libADLMIDI-test.pro @@ -11,6 +11,8 @@ INCLUDEPATH += $$PWD/src #LIBS += -Wl,-Bstatic -lSDL2 -Wl,-Bdynamic -lpthread -ldl LIBS += -lSDL2 -lpthread -ldl +#DEFINES += DISABLE_EMBEDDED_BANKS + HEADERS += \ src/adlbank.h \ src/adldata.hh \ @@ -23,6 +25,7 @@ HEADERS += \ SOURCES += \ src/adldata.cpp \ + \ src/adlmidi.cpp \ src/adlmidi_load.cpp \ src/adlmidi_midiplay.cpp \ -- cgit v1.2.3