summaryrefslogtreecommitdiff
path: root/ext/fluidsynth/gstfluidsynth.h
diff options
context:
space:
mode:
authorWim Taymans <wim.taymans@collabora.co.uk>2013-03-22 11:04:10 +0100
committerWim Taymans <wim.taymans@collabora.co.uk>2013-03-22 11:04:10 +0100
commitd09a72029cba10b0ab666e95f411beeea65dd172 (patch)
tree58f5d6b657f1a478b769557be9e04c9e04c3fb68 /ext/fluidsynth/gstfluidsynth.h
parent30585c8f8ea84c73d7043f58b3cb02d502a68887 (diff)
downloadgstreamer-plugins-bad-d09a72029cba10b0ab666e95f411beeea65dd172.tar.gz
fluidsynth: add properties
Add properties. Try to find a good default soundfont when not specified.
Diffstat (limited to 'ext/fluidsynth/gstfluidsynth.h')
-rw-r--r--ext/fluidsynth/gstfluidsynth.h16
1 files changed, 12 insertions, 4 deletions
diff --git a/ext/fluidsynth/gstfluidsynth.h b/ext/fluidsynth/gstfluidsynth.h
index ab5da6ba5..924cf0090 100644
--- a/ext/fluidsynth/gstfluidsynth.h
+++ b/ext/fluidsynth/gstfluidsynth.h
@@ -48,13 +48,21 @@ struct _GstFluidsynth
GstElement element;
GstPad *sinkpad, *srcpad;
- GstSegment segment;
- GstClockTime last_pts;
- guint64 last_sample;
+
+ /* properties */
+ gchar *soundfont;
+ gboolean synth_chorus;
+ gboolean synth_reverb;
+ gdouble synth_gain;
+ gint synth_polyphony;
fluid_settings_t* settings;
fluid_synth_t* synth;
- int soundfont;
+ int sf;
+
+ GstSegment segment;
+ GstClockTime last_pts;
+ guint64 last_sample;
};
struct _GstFluidsynthClass