From 86d6bc0d9101c36c016be6af0c4d6b3d3cb03363 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tim-Philipp=20M=C3=BCller?= Date: Sat, 21 Apr 2007 14:14:24 +0000 Subject: [PATCH] gst/audioresample/gstaudioresample.c: Make more functions static, just because we can. Original commit message from CVS: * gst/audioresample/gstaudioresample.c: Make more functions static, just because we can. --- gst/audioresample/gstaudioresample.c | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/gst/audioresample/gstaudioresample.c b/gst/audioresample/gstaudioresample.c index 5325792131..fb5ebabd03 100644 --- a/gst/audioresample/gstaudioresample.c +++ b/gst/audioresample/gstaudioresample.c @@ -110,15 +110,15 @@ static void gst_audioresample_get_property (GObject * object, guint prop_id, GValue * value, GParamSpec * pspec); /* vmethods */ -gboolean audioresample_get_unit_size (GstBaseTransform * base, +static gboolean audioresample_get_unit_size (GstBaseTransform * base, GstCaps * caps, guint * size); -GstCaps *audioresample_transform_caps (GstBaseTransform * base, +static GstCaps *audioresample_transform_caps (GstBaseTransform * base, GstPadDirection direction, GstCaps * caps); -gboolean audioresample_transform_size (GstBaseTransform * trans, +static gboolean audioresample_transform_size (GstBaseTransform * trans, GstPadDirection direction, GstCaps * incaps, guint insize, GstCaps * outcaps, guint * outsize); -gboolean audioresample_set_caps (GstBaseTransform * base, GstCaps * incaps, - GstCaps * outcaps); +static gboolean audioresample_set_caps (GstBaseTransform * base, + GstCaps * incaps, GstCaps * outcaps); static GstFlowReturn audioresample_pushthrough (GstAudioresample * audioresample); static GstFlowReturn audioresample_transform (GstBaseTransform * base, @@ -231,7 +231,7 @@ audioresample_stop (GstBaseTransform * base) return TRUE; } -gboolean +static gboolean audioresample_get_unit_size (GstBaseTransform * base, GstCaps * caps, guint * size) { @@ -252,7 +252,7 @@ audioresample_get_unit_size (GstBaseTransform * base, GstCaps * caps, return TRUE; } -GstCaps * +static GstCaps * audioresample_transform_caps (GstBaseTransform * base, GstPadDirection direction, GstCaps * caps) { @@ -362,7 +362,7 @@ no_out_rate: } } -gboolean +static gboolean audioresample_transform_size (GstBaseTransform * base, GstPadDirection direction, GstCaps * caps, guint size, GstCaps * othercaps, guint * othersize) @@ -417,7 +417,7 @@ audioresample_transform_size (GstBaseTransform * base, return ret; } -gboolean +static gboolean audioresample_set_caps (GstBaseTransform * base, GstCaps * incaps, GstCaps * outcaps) {