summaryrefslogtreecommitdiffstats
path: root/gst/passthrough/gstpassthrough.h
diff options
context:
space:
mode:
Diffstat (limited to 'gst/passthrough/gstpassthrough.h')
-rw-r--r--gst/passthrough/gstpassthrough.h16
1 files changed, 4 insertions, 12 deletions
diff --git a/gst/passthrough/gstpassthrough.h b/gst/passthrough/gstpassthrough.h
index fd4c2445..7d0119b2 100644
--- a/gst/passthrough/gstpassthrough.h
+++ b/gst/passthrough/gstpassthrough.h
@@ -22,14 +22,9 @@
#ifndef __GST_PASSTHROUGH_H__
#define __GST_PASSTHROUGH_H__
-
#include <gst/gst.h>
-
-#ifdef __cplusplus
-extern "C" {
-#endif /* __cplusplus */
-
+G_BEGIN_DECLS
#define GST_TYPE_PASSTHROUGH \
(gst_passthrough_get_type())
@@ -65,11 +60,11 @@ struct _GstPassthrough {
guint channels;
guint width;
guint endianness;
+ guint buffer_size;
- /* the next are valid only for format==GST_PASSTHROUGH_FORMAT_INT */
+ /* the next are valid only for int formats */
guint depth;
gboolean is_signed;
-
};
struct _GstPassthroughClass {
@@ -78,9 +73,6 @@ struct _GstPassthroughClass {
GType gst_passthrough_get_type(void);
-#ifdef __cplusplus
-}
-#endif /* __cplusplus */
-
+G_END_DECLS
#endif /* __GST_PASSTHROUGH_H__ */