mirror of
https://github.com/ZDoom/ZMusic.git
synced 2025-04-19 07:21:21 +00:00
GZDoom's music system as a standalone library
Suppressed warnings about unused fread return values in music_timidity_mididevice.cpp, music_timiditypp_mididevice.cpp and instrum_dls.cpp. Corrected indentation in itread.c, readmod.c and readxm.c. Inlined the functionality of fluid_player_update_tempo inside fluid_player_set_bpm, as the former is deprecated and could be removed in a future version. Corrected Ym2612_Nuked_Emu::reset in Ym2612_Nuked.cpp to only call OPN2_Reset on chip_r when chip_r is _not_ NULL, instead of only when it is. Marked case ATTACK and case DECAY in envelope generation in OPL3.cpp as fallthrough to case DECAY and case SUSTAIN respectively. |
||
---|---|---|
.github/workflows | ||
cmake | ||
include | ||
licenses | ||
samples/list_midi_devices | ||
source | ||
thirdparty | ||
.gitignore | ||
CMakeLists.txt | ||
README.md | ||
vcpkg.json |
ZMusic
GZDoom's music system as a standalone library
Welcome! This repository is a library for use with the projects GZDoom, Raze, and the newer PrBoom+.
Compile instructions are pretty simple for most systems.
git clone https://github.com/coelckers/ZMusic.git
mkdir ZMusic/build
cd ZMusic/build
cmake -DCMAKE_BUILD_TYPE=Release ..
cmake --build .
On Unix/Linux you may also supply sudo make install
in the build folder to push the compiled library directly into the file system so that it can be found by the previously mentioned projects.