summaryrefslogtreecommitdiffstats
path: root/src/pulsecore/resampler.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/pulsecore/resampler.h')
-rw-r--r--src/pulsecore/resampler.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/pulsecore/resampler.h b/src/pulsecore/resampler.h
index 778c738d..82d01082 100644
--- a/src/pulsecore/resampler.h
+++ b/src/pulsecore/resampler.h
@@ -81,6 +81,9 @@ void pa_resampler_set_input_rate(pa_resampler *r, uint32_t rate);
/* Change the output rate of the resampler object */
void pa_resampler_set_output_rate(pa_resampler *r, uint32_t rate);
+/* Reinitialize state of the resampler, possibly due to seeking or other discontinuities */
+void pa_resampler_reset(pa_resampler *r);
+
/* Return the resampling method of the resampler object */
pa_resample_method_t pa_resampler_get_method(pa_resampler *r);
@@ -93,4 +96,5 @@ const char *pa_resample_method_to_string(pa_resample_method_t m);
/* Return 1 when the specified resampling method is supported */
int pa_resample_method_supported(pa_resample_method_t m);
+
#endif