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
commit71b95f01453faf880ec957835acb967f71594241 (patch)
treed89e5c3fa7d8ef9230f47a075c8002b39c2c12ac /ext/ladspa/gstladspa.h
parent05489e640db3a223d77705f9e4a692b93475f21f (diff)
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;
};