Commit 005e6913 authored by Max Kellermann's avatar Max Kellermann

decoder/fluidsynth: adapt to API change in version 2.0

Closes #360
parent 61eff1cd
...@@ -6,6 +6,8 @@ ver 0.20.22 (not yet released) ...@@ -6,6 +6,8 @@ ver 0.20.22 (not yet released)
- fix broken command "list ... group" - fix broken command "list ... group"
* storage * storage
- curl: URL-encode paths - curl: URL-encode paths
* decoder
- fluidsynth: adapt to API change in version 2.0
* Android * Android
- now runs as a service - now runs as a service
- add button to start/stop MPD - add button to start/stop MPD
......
...@@ -64,7 +64,12 @@ fluidsynth_level_to_mpd(enum fluid_log_level level) ...@@ -64,7 +64,12 @@ fluidsynth_level_to_mpd(enum fluid_log_level level)
* logging library. * logging library.
*/ */
static void static void
fluidsynth_mpd_log_function(int level, char *message, gcc_unused void *data) fluidsynth_mpd_log_function(int level,
#if FLUIDSYNTH_VERSION_MAJOR >= 2
const
#endif
char *message,
void *)
{ {
Log(fluidsynth_domain, Log(fluidsynth_domain,
fluidsynth_level_to_mpd(fluid_log_level(level)), fluidsynth_level_to_mpd(fluid_log_level(level)),
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment