/*****************************************************************************
- * fluidsynth.c: Software MIDI synthetizer using libfluidsynth
+ * fluidsynth.c: Software MIDI synthesizer using libfluidsynth
*****************************************************************************
* Copyright © 2007 Rémi Denis-Courmont
* $Id$
static void Close (vlc_object_t *);
vlc_module_begin ()
- set_description (N_("FluidSynth MIDI synthetizer"))
+ set_description (N_("FluidSynth MIDI synthesizer"))
set_capability ("decoder", 100)
set_shortname (N_("FluidSynth"))
set_category (CAT_INPUT)
dialog_Fatal (p_this, _("MIDI synthesis not set up"),
_("A sound font file (.SF2) is required for MIDI synthesis.\n"
"Please install a sound font and configure it "
- "from the VLC preferences (Codecs / Audio / FluidSynth).\n"));
+ "from the VLC preferences "
+ "(Input / Codecs > Audio codecs > FluidSynth).\n"));
return VLC_EGENERIC;
}
unsigned samples =
(p_block->i_pts - date_Get (&p_sys->end_date)) * 441 / 10000;
if (samples == 0)
- return NULL;
+ goto drop;
p_out = decoder_NewAudioBuffer (p_dec, samples);
if (p_out == NULL)