2 * Copyright (C) <1999> Erik Walthinsen <omega@cse.ogi.edu>
4 * gstladspa.h: Header for LADSPA plugin
6 * This library is free software; you can redistribute it and/or
7 * modify it under the terms of the GNU Library General Public
8 * License as published by the Free Software Foundation; either
9 * version 2 of the License, or (at your option) any later version.
11 * This library is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14 * Library General Public License for more details.
16 * You should have received a copy of the GNU Library General Public
17 * License along with this library; if not, write to the
18 * Free Software Foundation, Inc., 59 Temple Place - Suite 330,
19 * Boston, MA 02111-1307, USA.
23 #ifndef __GST_LADSPA_H__
24 #define __GST_LADSPA_H__
28 #include <gst/bytestream/bytestream.h>
35 #endif /* __cplusplus */
37 typedef struct _ladspa_control_info {
40 gfloat lowerbound, upperbound;
42 gboolean lower,upper,samplerate;
43 gboolean toggled, logarithmic, integer, writable;
44 } ladspa_control_info;
46 typedef struct _GstLADSPA GstLADSPA;
47 typedef struct _GstLADSPAClass GstLADSPAClass;
52 LADSPA_Descriptor *descriptor;
53 LADSPA_Handle *handle;
55 GstDParamManager *dpman;
64 gint samplerate, buffer_frames;
66 gboolean inplace_broken;
69 struct _GstLADSPAClass {
70 GstElementClass parent_class;
72 LADSPA_Descriptor *descriptor;
79 gint *sinkpad_portnums,
83 ladspa_control_info *control_info;
89 #endif /* __cplusplus */
92 #endif /* __GST_LADSPA_H__ */