diff options
author | Leif Johnson <leif@ambient.2y.net> | 2002-01-22 04:42:11 +0000 |
---|---|---|
committer | Leif Johnson <leif@ambient.2y.net> | 2002-01-22 04:42:11 +0000 |
commit | 77c65b62bf9aab7d50b09fa4fd7ceeab0acd9e5c (patch) | |
tree | 4a294abe8a5b0e52c658edaf522272780fef16ed /ext/ladspa/gstladspa.h | |
parent | 44d4269dc814bc4e565322b8558aeecdc0e716be (diff) | |
download | gst-plugins-bad-77c65b62bf9aab7d50b09fa4fd7ceeab0acd9e5c.tar.gz gst-plugins-bad-77c65b62bf9aab7d50b09fa4fd7ceeab0acd9e5c.tar.bz2 gst-plugins-bad-77c65b62bf9aab7d50b09fa4fd7ceeab0acd9e5c.zip |
Updated ladspa to work with the new caps nego stuff. Also updated it to work in using a loop function for configurati...
Original commit message from CVS:
Updated ladspa to work with the new caps nego stuff. Also updated it to work in
any M sinkpads by N srcpads configuration (M > -1 and N > 0), using a loop
function for configurations other than M == N == 1 or M == 0.
Diffstat (limited to 'ext/ladspa/gstladspa.h')
-rw-r--r-- | ext/ladspa/gstladspa.h | 20 |
1 files changed, 5 insertions, 15 deletions
diff --git a/ext/ladspa/gstladspa.h b/ext/ladspa/gstladspa.h index 80a7b458..2273aa5a 100644 --- a/ext/ladspa/gstladspa.h +++ b/ext/ladspa/gstladspa.h @@ -26,6 +26,7 @@ #include <config.h> #include <gst/gst.h> +#include <gst/bytestream/bytestream.h> #include "ladspa.h" @@ -34,19 +35,6 @@ extern "C" { #endif /* __cplusplus */ -/* -#define GST_TYPE_LADSPA \ - (gst_ladspa_get_type()) -#define GST_LADSPA(obj) \ - (G_TYPE_CHECK_INSTANCE_CAST((obj),GST_TYPE_LADSPA,GstLADSPA)) -#define GST_LADSPA_CLASS(klass) \ - (G_TYPE_CHECK_CLASS_CAST((klass),GST_TYPE_LADSPA,GstLADSPA)) -#define GST_IS_LADSPA(obj) \ - (G_TYPE_CHECK_INSTANCE_TYPE((obj),GST_TYPE_LADSPA)) -#define GST_IS_LADSPA_CLASS(obj) \ - (G_TYPE_CHECK_CLASS_TYPE((klass),GST_TYPE_LADSPA)) -*/ - typedef struct _ladspa_control_info { gchar *name; gfloat lowerbound, upperbound; @@ -67,12 +55,14 @@ struct _GstLADSPA { GstPad **sinkpads, **srcpads; + + GstByteStream **bytestreams; - GstBuffer **buffers; + GstBufferPool *bufpool; gboolean loopbased, newcaps, activated; - gint samplerate, buffersize; + gint samplerate, buffersize, numbuffers; gulong timestamp; }; |