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.
This commit is contained in:
Tim-Philipp Müller 2007-04-21 14:14:24 +00:00
parent 2821ae6e8c
commit 86d6bc0d91

View file

@ -110,15 +110,15 @@ static void gst_audioresample_get_property (GObject * object,
guint prop_id, GValue * value, GParamSpec * pspec); guint prop_id, GValue * value, GParamSpec * pspec);
/* vmethods */ /* vmethods */
gboolean audioresample_get_unit_size (GstBaseTransform * base, static gboolean audioresample_get_unit_size (GstBaseTransform * base,
GstCaps * caps, guint * size); GstCaps * caps, guint * size);
GstCaps *audioresample_transform_caps (GstBaseTransform * base, static GstCaps *audioresample_transform_caps (GstBaseTransform * base,
GstPadDirection direction, GstCaps * caps); GstPadDirection direction, GstCaps * caps);
gboolean audioresample_transform_size (GstBaseTransform * trans, static gboolean audioresample_transform_size (GstBaseTransform * trans,
GstPadDirection direction, GstCaps * incaps, guint insize, GstPadDirection direction, GstCaps * incaps, guint insize,
GstCaps * outcaps, guint * outsize); GstCaps * outcaps, guint * outsize);
gboolean audioresample_set_caps (GstBaseTransform * base, GstCaps * incaps, static gboolean audioresample_set_caps (GstBaseTransform * base,
GstCaps * outcaps); GstCaps * incaps, GstCaps * outcaps);
static GstFlowReturn audioresample_pushthrough (GstAudioresample * static GstFlowReturn audioresample_pushthrough (GstAudioresample *
audioresample); audioresample);
static GstFlowReturn audioresample_transform (GstBaseTransform * base, static GstFlowReturn audioresample_transform (GstBaseTransform * base,
@ -231,7 +231,7 @@ audioresample_stop (GstBaseTransform * base)
return TRUE; return TRUE;
} }
gboolean static gboolean
audioresample_get_unit_size (GstBaseTransform * base, GstCaps * caps, audioresample_get_unit_size (GstBaseTransform * base, GstCaps * caps,
guint * size) guint * size)
{ {
@ -252,7 +252,7 @@ audioresample_get_unit_size (GstBaseTransform * base, GstCaps * caps,
return TRUE; return TRUE;
} }
GstCaps * static GstCaps *
audioresample_transform_caps (GstBaseTransform * base, audioresample_transform_caps (GstBaseTransform * base,
GstPadDirection direction, GstCaps * caps) GstPadDirection direction, GstCaps * caps)
{ {
@ -362,7 +362,7 @@ no_out_rate:
} }
} }
gboolean static gboolean
audioresample_transform_size (GstBaseTransform * base, audioresample_transform_size (GstBaseTransform * base,
GstPadDirection direction, GstCaps * caps, guint size, GstCaps * othercaps, GstPadDirection direction, GstCaps * caps, guint size, GstCaps * othercaps,
guint * othersize) guint * othersize)
@ -417,7 +417,7 @@ audioresample_transform_size (GstBaseTransform * base,
return ret; return ret;
} }
gboolean static gboolean
audioresample_set_caps (GstBaseTransform * base, GstCaps * incaps, audioresample_set_caps (GstBaseTransform * base, GstCaps * incaps,
GstCaps * outcaps) GstCaps * outcaps)
{ {