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:
parent
e832f799e1
commit
97cff37e11
@ -1,3 +1,8 @@
|
|||||||
|
2007-04-21 Tim-Philipp Müller <tim at centricular dot net>
|
||||||
|
|
||||||
|
* gst/audioresample/gstaudioresample.c:
|
||||||
|
Make more functions static, just because we can.
|
||||||
|
|
||||||
2007-04-21 Tim-Philipp Müller <tim at centricular dot net>
|
2007-04-21 Tim-Philipp Müller <tim at centricular dot net>
|
||||||
|
|
||||||
* tests/check/elements/audioresample.c:
|
* tests/check/elements/audioresample.c:
|
||||||
|
@ -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)
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user