Add a reset function that clears any history.
}
/**
+ * gst_audio_quantize_reset:
+ * @quant: a #GstAudioQuantize
+ *
+ * Reset @quant to the state is was when created, clearing any
+ * history it might have.
+ */
+void
+gst_audio_quantize_reset (GstAudioQuantize * quant)
+{
+ g_free (quant->error_buf);
+ quant->error_buf = NULL;
+ quant->error_size = 0;
+}
+
+/**
* gst_audio_quantize_samples:
* @quant: a #GstAudioQuantize
* @in: input samples
void gst_audio_quantize_free (GstAudioQuantize * quant);
+void gst_audio_quantize_reset (GstAudioQuantize * quant);
+
void gst_audio_quantize_samples (GstAudioQuantize * quant,
const gpointer in[],
gpointer out[], guint samples);