GstBaseTransformClass basetransformclass;
/* virtual function, called whenever the format changes */
- gboolean (*setup) (GstAudioFilter * filter, GstAudioInfo * info);
+ gboolean (*setup) (GstAudioFilter * filter, const GstAudioInfo * info);
/*< private >*/
gpointer _gst_reserved[GST_PADDING];
static GstFlowReturn volume_transform_ip (GstBaseTransform * base,
GstBuffer * outbuf);
static gboolean volume_stop (GstBaseTransform * base);
-static gboolean volume_setup (GstAudioFilter * filter, GstAudioInfo * info);
+static gboolean volume_setup (GstAudioFilter * filter,
+ const GstAudioInfo * info);
static void volume_process_double (GstVolume * self, gpointer bytes,
guint n_bytes);
/* get notified of caps and plug in the correct process function */
static gboolean
-volume_setup (GstAudioFilter * filter, GstAudioInfo * info)
+volume_setup (GstAudioFilter * filter, const GstAudioInfo * info)
{
gboolean res;
GstVolume *self = GST_VOLUME (filter);