summaryrefslogtreecommitdiffstats
path: root/ext/ladspa/gstladspa.h
diff options
context:
space:
mode:
authorThomas Vander Stichele <thomas@apestaart.org>2004-03-14 22:34:33 +0000
committerThomas Vander Stichele <thomas@apestaart.org>2004-03-14 22:34:33 +0000
commit5d25c00e4b613b9cdf2c04fa3a68dffa03834a68 (patch)
tree74a5b1eaf3a324b520e64e87404fd0b3018a7829 /ext/ladspa/gstladspa.h
parent1e83b097f7b732ae49e294a5a398bdc3e88854a8 (diff)
gst-indent
Original commit message from CVS: gst-indent
Diffstat (limited to 'ext/ladspa/gstladspa.h')
-rw-r--r--ext/ladspa/gstladspa.h78
1 files changed, 38 insertions, 40 deletions
diff --git a/ext/ladspa/gstladspa.h b/ext/ladspa/gstladspa.h
index f3556f74..b40cd145 100644
--- a/ext/ladspa/gstladspa.h
+++ b/ext/ladspa/gstladspa.h
@@ -31,62 +31,60 @@
#ifdef __cplusplus
-extern "C" {
-#endif /* __cplusplus */
+extern "C"
+{
+#endif /* __cplusplus */
-typedef struct _ladspa_control_info {
- gchar *name;
- gchar *param_name;
- gfloat lowerbound, upperbound;
- gfloat def;
- gboolean lower,upper,samplerate;
- gboolean toggled, logarithmic, integer, writable;
-} ladspa_control_info;
+ typedef struct _ladspa_control_info
+ {
+ gchar *name;
+ gchar *param_name;
+ gfloat lowerbound, upperbound;
+ gfloat def;
+ gboolean lower, upper, samplerate;
+ gboolean toggled, logarithmic, integer, writable;
+ } ladspa_control_info;
-typedef struct _GstLADSPA GstLADSPA;
-typedef struct _GstLADSPAClass GstLADSPAClass;
+ typedef struct _GstLADSPA GstLADSPA;
+ typedef struct _GstLADSPAClass GstLADSPAClass;
-struct _GstLADSPA {
- GstElement element;
+ struct _GstLADSPA
+ {
+ GstElement element;
- LADSPA_Descriptor *descriptor;
- LADSPA_Handle *handle;
+ LADSPA_Descriptor *descriptor;
+ LADSPA_Handle *handle;
- GstDParamManager *dpman;
+ GstDParamManager *dpman;
- gfloat *controls;
-
- GstPad **sinkpads,
- **srcpads;
+ gfloat *controls;
- gboolean activated;
+ GstPad **sinkpads, **srcpads;
- gint samplerate, buffer_frames;
- gint64 timestamp;
- gboolean inplace_broken;
-};
+ gboolean activated;
-struct _GstLADSPAClass {
- GstElementClass parent_class;
+ gint samplerate, buffer_frames;
+ gint64 timestamp;
+ gboolean inplace_broken;
+ };
- LADSPA_Descriptor *descriptor;
+ struct _GstLADSPAClass
+ {
+ GstElementClass parent_class;
- gint numports,
- numsinkpads,
- numsrcpads,
- numcontrols;
+ LADSPA_Descriptor *descriptor;
- gint *sinkpad_portnums,
- *srcpad_portnums,
- *control_portnums;
+ gint numports, numsinkpads, numsrcpads, numcontrols;
- ladspa_control_info *control_info;
-};
+ gint *sinkpad_portnums, *srcpad_portnums, *control_portnums;
+
+ ladspa_control_info *control_info;
+ };
#ifdef __cplusplus
}
-#endif /* __cplusplus */
+#endif /* __cplusplus */
-#endif /* __GST_LADSPA_H__ */
+#endif /* __GST_LADSPA_H__ */