mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-20 23:36:38 +00:00
fluidsynth: add sf3 to soundfont search path
In Debian, soundfonts in SF3 format (i.e. the same as SF2 format but with Ogg/Vorbis-compressed samples) are installed into /usr/share/sounds/sf3. Soundfonts in SF3 format are supported since FluidSynth 1.1.7 (released in Feb 2018).
This commit is contained in:
parent
1e38255c97
commit
296e17e3f1
1 changed files with 3 additions and 2 deletions
|
@ -530,8 +530,9 @@ gst_fluid_dec_open (GstFluidDec * fluiddec)
|
|||
fluiddec->soundfont);
|
||||
} else {
|
||||
gint i, j;
|
||||
/* ubuntu/debian in sounds/sf2, fedora in soundfonts */
|
||||
static const gchar *paths[] = { "sounds/sf2/", "soundfonts/", NULL };
|
||||
/* ubuntu/debian in sounds/sf[23], fedora in soundfonts */
|
||||
static const gchar *paths[] =
|
||||
{ "sounds/sf3/", "sounds/sf2/", "soundfonts/", NULL };
|
||||
|
||||
sharedirs = g_get_system_data_dirs ();
|
||||
|
||||
|
|
Loading…
Reference in a new issue