Commit Graph

3 Commits

Author SHA1 Message Date
8a1b57aa80 Added context data to event callbacks, re-enabling SDL window title change on preset switch. 2021-08-23 18:37:57 +02:00
4091cbd76b Fixed a few definitions and types in the C API.
Also added missing projectm_is_preset_locked() and projectm_pcm_get_max_samples() functions.
2021-08-23 18:37:57 +02:00
14f4bcac65 Added a C-style interface header and wrapper for projectM.
This will make it easier to integrate projectM into C applications and also removes potential issues of STL/C++ version differences between host and library.

Changed visibility of all symbols except the C API to "hidden". This effectively prevents the C++ API from being used in the shared library.

Added an option "ENABLE_CXX_INTERFACE" to re-enable the old export behaviour, displaying a prominent author warning after configuring the build if enabled.
2021-08-23 18:37:57 +02:00