summaryrefslogtreecommitdiffstats
path: root/ext/ladspa/gstladspa.h
diff options
context:
space:
mode:
authorLeif Johnson <leif@ambient.2y.net>2002-01-22 04:42:11 +0000
committerLeif Johnson <leif@ambient.2y.net>2002-01-22 04:42:11 +0000
commitda4681d83ed676d3b2aca252d3e8b5e1c44d4a85 (patch)
treee143ec2de29774630f959402904a6fc671a113cb /ext/ladspa/gstladspa.h
parentee06d65064412c2e46881e990ba2f22af1762bab (diff)
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.h20
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;
};