diff options
Diffstat (limited to 'gst/passthrough')
-rw-r--r-- | gst/passthrough/gstpassthrough.c | 2 | ||||
-rw-r--r-- | gst/passthrough/gstpassthrough.h | 16 |
2 files changed, 5 insertions, 13 deletions
diff --git a/gst/passthrough/gstpassthrough.c b/gst/passthrough/gstpassthrough.c index 351a3426..9942a758 100644 --- a/gst/passthrough/gstpassthrough.c +++ b/gst/passthrough/gstpassthrough.c @@ -32,7 +32,7 @@ /* elementfactory information */ static GstElementDetails passthrough_details = { "Passthrough", - "Filter/Audio/Effect", + "Filter/Effect/Audio", "Transparent filter for audio/raw (boilerplate for effects)", "Thomas <thomas@apestaart.org>, "\ "Andy Wingo <apwingo@eos.ncsu.edu>" 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__ */ |