From 3b565b5f972ad65ab3e498c29eaf4f825eacece4 Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Thu, 1 Mar 2012 00:59:53 +0100 Subject: pcm_convert: add method _reset() Resets the libsamplerate state. Not being used yet. --- src/pcm_resample_internal.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/pcm_resample_internal.h') diff --git a/src/pcm_resample_internal.h b/src/pcm_resample_internal.h index 0b0a0500..a0e108d4 100644 --- a/src/pcm_resample_internal.h +++ b/src/pcm_resample_internal.h @@ -41,6 +41,9 @@ pcm_resample_lsr_init(struct pcm_resample_state *state); void pcm_resample_lsr_deinit(struct pcm_resample_state *state); +void +pcm_resample_lsr_reset(struct pcm_resample_state *state); + const float * pcm_resample_lsr_float(struct pcm_resample_state *state, unsigned channels, -- cgit v1.2.3