diff options
author | Wohlstand <admin@wohlnet.ru> | 2017-10-18 02:22:01 +0300 |
---|---|---|
committer | Wohlstand <admin@wohlnet.ru> | 2017-10-18 02:22:01 +0300 |
commit | 380d08e1a234efb17cf15a6b6c2d00c52e4fc648 (patch) | |
tree | 563567a5615623db8e9e3acdffa3be8f44cb84ba /libADLMIDI-test.pro | |
parent | d7b33b8d4fc3efe90d8e388d451966fa4baefba6 (diff) | |
download | libADLMIDI-380d08e1a234efb17cf15a6b6c2d00c52e4fc648.tar.gz libADLMIDI-380d08e1a234efb17cf15a6b6c2d00c52e4fc648.tar.bz2 libADLMIDI-380d08e1a234efb17cf15a6b6c2d00c52e4fc648.zip |
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
Diffstat (limited to 'libADLMIDI-test.pro')
-rw-r--r-- | libADLMIDI-test.pro | 3 |
1 files changed, 3 insertions, 0 deletions
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 \ |