fluidsynth/fluidsynth-add-missing-export-for-1.1.4.diff

20 lines
568 B
Diff
Raw Normal View History

---
src/sfloader/fluid_defsfont.c | 6 ++++++
1 file changed, 6 insertions(+)
--- a/src/sfloader/fluid_defsfont.c
+++ b/src/sfloader/fluid_defsfont.c
@@ -109,6 +109,12 @@
return fluid_defsfont_get_name((fluid_defsfont_t*) sfont->data);
}
+fluid_sample_t* fluid_defsfont_get_sample(fluid_defsfont_t* sfont, char *s)
+{
+ /* This function is here just to avoid an ABI/SONAME bump, see ticket #98. Should never be used. */
+ return NULL;
+}
+
fluid_preset_t*
fluid_defsfont_sfont_get_preset(fluid_sfont_t* sfont, unsigned int bank, unsigned int prenum)
{