From e56a90f3b343217671327aba2ecdca8709463331 Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Thu, 12 Feb 2009 08:43:26 +0100 Subject: fluidsynth: new decoder plugin for MIDI files There are a few problems left in this plugin: - fluidsynth decodes in real time, while MPD prefers to buffer as quickly as possible; as a workaround, this plugin uses a timer object to synchronize with real-time playback - I don't know yet how fluidsynth tells me when the song has ended - the "soundfont" configuration setting is not yet documented, and it will likely change soon (in favor of a per-decoder configuration block) --- src/Makefile.am | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src/Makefile.am') diff --git a/src/Makefile.am b/src/Makefile.am index 8170badbe..935f8b3d6 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -12,6 +12,7 @@ mpd_CPPFLAGS = \ $(AUDIOFILE_CFLAGS) $(LIBMIKMOD_CFLAGS) \ $(MODPLUG_CFLAGS) \ $(SIDPLAY_CFLAGS) \ + $(FLUIDSYNTH_CFLAGS) \ $(ID3TAG_CFLAGS) \ $(MAD_CFLAGS) \ $(FFMPEG_CFLAGS) \ @@ -26,6 +27,7 @@ mpd_LDADD = $(MPD_LIBS) \ $(AUDIOFILE_LIBS) $(LIBMIKMOD_LIBS) \ $(MODPLUG_LIBS) \ $(SIDPLAY_LIBS) \ + $(FLUIDSYNTH_LIBS) \ $(ID3TAG_LIBS) \ $(MAD_LIBS) \ $(MP4FF_LIBS) \ @@ -317,6 +319,10 @@ if ENABLE_SIDPLAY mpd_SOURCES += decoder/sidplay_plugin.cxx endif +if ENABLE_FLUIDSYNTH +mpd_SOURCES += decoder/fluidsynth_plugin.c +endif + if HAVE_FFMPEG mpd_SOURCES += decoder/ffmpeg_plugin.c endif -- cgit v1.2.3