summaryrefslogtreecommitdiffstats
path: root/ext/ladspa/gstladspa.h
diff options
context:
space:
mode:
authorSteve Baker <steve@stevebaker.org>2002-04-20 13:57:00 +0000
committerSteve Baker <steve@stevebaker.org>2002-04-20 13:57:00 +0000
commitba7bac3955e6f8fd8ee433104ad1255fb4b13035 (patch)
tree3141304e54085472d4eed3bbce59fb1438541130 /ext/ladspa/gstladspa.h
parent6d7ff825697d8f26c1ff12076a0669107f6e159a (diff)
downloadgst-plugins-bad-ba7bac3955e6f8fd8ee433104ad1255fb4b13035.tar.gz
gst-plugins-bad-ba7bac3955e6f8fd8ee433104ad1255fb4b13035.tar.bz2
gst-plugins-bad-ba7bac3955e6f8fd8ee433104ad1255fb4b13035.zip
A fairly large reworking of the ladspa _get, _chain and _loop funcs. highlights are:
Original commit message from CVS: A fairly large reworking of the ladspa _get, _chain and _loop funcs. highlights are: - pad names are now g_strcanonised - in all cases possible, src and sink buffers are shared - all ladspa properties are exposed as dparams and element properties - the buffers are now processed in dparam driven loops - timestamps on buffers should be correct - misc fixes It has been minimally tested - the following pipeline works for me: gst-launch ladspa_sine_fcac Frequency=440.0 Amplitude=1.0 name=fcac1 ladspa_sine_fcac Frequency=450.0 Amplitude=1.0 name=fcac2 ladspa_freeverb3 Wet-Level=0.5 name=free float2int name=f2i fcac1.Output!free.Input--Left- free.Output--Left-!f2i.sink%d fcac2.Output!free.Input--Right- free.Output--Right-!f2i.sink%d f2i.src!sink osssink
Diffstat (limited to 'ext/ladspa/gstladspa.h')
-rw-r--r--ext/ladspa/gstladspa.h8
1 files changed, 5 insertions, 3 deletions
diff --git a/ext/ladspa/gstladspa.h b/ext/ladspa/gstladspa.h
index 2273aa5a..18357585 100644
--- a/ext/ladspa/gstladspa.h
+++ b/ext/ladspa/gstladspa.h
@@ -37,6 +37,7 @@ extern "C" {
typedef struct _ladspa_control_info {
gchar *name;
+ gchar *param_name;
gfloat lowerbound, upperbound;
gboolean lower,upper,samplerate;
gboolean toggled, logarithmic, integer, writable;
@@ -51,19 +52,20 @@ struct _GstLADSPA {
LADSPA_Descriptor *descriptor;
LADSPA_Handle *handle;
+ GstDParamManager *dpman;
+
gfloat *controls;
GstPad **sinkpads,
**srcpads;
- GstByteStream **bytestreams;
GstBufferPool *bufpool;
- gboolean loopbased, newcaps, activated;
+ gboolean newcaps, activated;
gint samplerate, buffersize, numbuffers;
- gulong timestamp;
+ gint64 timestamp;
};