Commit graph

8 commits

Author SHA1 Message Date
Christoph Oelckers
dad5c5a765 - fixed compilation on Mac.
Linking still does not work...
2022-07-31 19:30:31 +02:00
Christoph Oelckers
47475495f4 - integrate FluidSynth directly into the project in source form.
The primary reason for this is to avoid dealing with FluidSynth's rather messy compile setup.
This also protects us from breaking API/ABI changes like between version 1 and 2.

This still needs work for Linux/macOS to deal with glib. Windows works fine.
2022-07-31 12:12:11 +02:00
Chris Robinson
592bb9126b Handle non-int16 samples in dumb_decode_vorbis 2021-11-06 09:00:11 +01:00
alexey.lysiuk
b9d22fb358 - do not expose module_progdir variable
If the same global variable is used by executable that linked to ZMusic dynamic library, both definitions may clash
For example, Linux builds of GZDoom and Raze could crash on exit because of double free, std::string destructor was called twice on the same module_progdir variable
2020-02-23 12:25:52 +02:00
Christoph Oelckers
5dca3403a1 - use C++11 features to delete unwanted methods. 2020-02-08 10:42:37 +01:00
Christoph Oelckers
7f63ad8707 - fixed uninitialized variables in decoders. 2020-02-08 10:25:08 +01:00
Christoph Oelckers
17d7942d02 - made the global interface c compatible. Added an empty C source so that incompatibilities immediately trigger compile errors.
- simplified the message printing interface to a single function.
2020-01-11 12:47:07 +01:00
Christoph Oelckers
a4eae42ec5 - initial commit 2020-01-02 17:52:30 +01:00