aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVitaly Novichkov <admin@wohlnet.ru>2018-04-25 00:24:03 +0300
committerVitaly Novichkov <admin@wohlnet.ru>2018-04-25 00:24:03 +0300
commit7fd5752dd5f22bdbe175744f33ad998e43f755cf (patch)
treef31c779c873e55cc0d9a5df00f266064e550f434
parent38d25fd5b9be25074c7d39533082b4a50197601e (diff)
parentc014aedd155d366ecbfa507317647675181a813d (diff)
downloadlibADLMIDI-7fd5752dd5f22bdbe175744f33ad998e43f755cf.tar.gz
libADLMIDI-7fd5752dd5f22bdbe175744f33ad998e43f755cf.tar.bz2
libADLMIDI-7fd5752dd5f22bdbe175744f33ad998e43f755cf.zip
Merge branch 'master' into stable
-rw-r--r--README.md6
-rw-r--r--android/CMakeLists.txt34
2 files changed, 38 insertions, 2 deletions
diff --git a/README.md b/README.md
index f6f1224..9fdfd22 100644
--- a/README.md
+++ b/README.md
@@ -59,12 +59,14 @@ sudo make install
* **CMAKE_PREFIX_PATH** - destinition folder where libADLMIDI will be installed. On Linux it is /usr/local/ by default.
* **CMAKE_BUILD_TYPE** - Build types: **Debug** or **Release**
* **WITH_MIDIPLAY** - (ON/OFF, default OFF) Build demo MIDI player (Requires SDL2 and also pthread on Windows with MinGW)
+* **WITH_VLC_PLUGIN** - (ON/OFF, default OFF) Compile VLC plugin. For now, works on Linux and VLC version 2.2.2. Support for newer VLC versions and other platforms comming soon!
* **WITH_ADLMIDI2** - (ON/OFF, default OFF) Build Classic ADLMIDI MIDI player (Requires SDL2 on Linux and macOS, requires pthread on Windows with MinGW, SDL doesn't required on Windows. Also, the **WITH_CPP_EXTRAS** flag must be enabled)
* **WITH_CPP_EXTRAS** - (ON/OFF, default OFF) Build libADLMIDI with some extra public features for C++ language (for example, instrument testing API is available for C++ only).
* **WITH_OLD_UTILS** - (ON/OFF, default OFF) Build old utilities to dump some bank formats, made by original creator of ADLMIDI
* **WITH_EMBEDDED_BANKS** - (ON/OFF, default ON) Enable or disable embedded banks (Original ADLMIDI and older versions of libADLMIDI are had embedded-only banks with no ability to load custom banks in runtime).
* **WITH_GENADLDATA** - (ON/OFF, default OFF) Build and execute the utility which will rebuild the embedded banks database (which is an adldata.cpp file).
-* **USE_DOSBOX_EMULATOR** - (ON/OFF, default OFF) Use DosBox emulator instead of current Nuked OPL3. This emulator has less accuracy, but it is well optimized for a work on slow devices such as older computers, embedded devices, or mobile device.
+* **USE_DOSBOX_EMULATOR** - (ON/OFF, default ON) Enable support for DosBox 0.74 emulator. (Well-accurate and fast)
+* **USE_NUKED_EMULATOR** - (ON/OFF, default ON) Enable support for Nuked OPL3 emulator. (Very-accurate, needs more CPU power)
* **libADLMIDI_STATIC** - (ON/OFF, default ON) Build static library
* **libADLMIDI_SHARED** - (ON/OFF, default OFF) Build shared library
@@ -133,7 +135,7 @@ To build that example you will need to have installed SDL2 library.
* Add support of MIDI Format 2 files (FL Studio made MIDI-files are wired and opening of those files making lossy of tempo and some meta-information events)
# Changelog
-## 1.3.2 dev
+## 1.3.2 2018-04-24
* Added ability to disable MUS and XMI converters
* Added ability to disable embedded MIDI sequencer to use library as RealTime synthesizer only or use any custom MIDI sequencer plugins.
* Fixed blank instruments fallback in multi-bank support. When using non-zero bank, if instrument is blank, then, instrument will be taken from a root (I.e. zero bank).
diff --git a/android/CMakeLists.txt b/android/CMakeLists.txt
new file mode 100644
index 0000000..87c95a8
--- /dev/null
+++ b/android/CMakeLists.txt
@@ -0,0 +1,34 @@
+cmake_minimum_required(VERSION 3.4.1)
+
+set(src_DIR ../src)
+set(include_DIR ../include)
+
+set(libADLMIDI_sources
+ ${src_DIR}/adldata.cpp
+ ${src_DIR}/adlmidi_load.cpp
+ ${src_DIR}/adlmidi_midiplay.cpp
+ ${src_DIR}/adlmidi_mus2mid.c
+ ${src_DIR}/adlmidi_opl3.cpp
+ ${src_DIR}/adlmidi_private.cpp
+ ${src_DIR}/adlmidi_xmi2mid.c
+ ${src_DIR}/adlmidi.cpp
+ ${src_DIR}/wopl/wopl_file.c
+ ${src_DIR}/chips/dosbox_opl3.cpp
+ ${src_DIR}/chips/nuked_opl3_v174.cpp
+ ${src_DIR}/chips/nuked_opl3.cpp
+ ${src_DIR}/chips/opl_chip_base.cpp
+ ${src_DIR}/chips/dosbox/dbopl.cpp
+ ${src_DIR}/chips/nuked/nukedopl3_174.c
+ ${src_DIR}/chips/nuked/nukedopl3.c
+)
+
+add_library(libADLMIDI SHARED ${libADLMIDI_sources})
+
+# Specify directories which the compiler should look for headers
+target_include_directories(libADLMIDI PRIVATE
+ ${include_DIR}
+)
+
+target_include_directories(libADLMIDI INTERFACE
+ ${include_DIR}
+) \ No newline at end of file