aboutsummaryrefslogtreecommitdiffstats
path: root/src/pcm_convert.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/pcm_convert.c')
-rw-r--r--src/pcm_convert.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/pcm_convert.c b/src/pcm_convert.c
index f9fc9a64b..13c7405e3 100644
--- a/src/pcm_convert.c
+++ b/src/pcm_convert.c
@@ -37,6 +37,11 @@ void pcm_convert_init(struct pcm_convert_state *state)
pcm_dither_24_init(&state->dither);
}
+void pcm_convert_deinit(struct pcm_convert_state *state)
+{
+ pcm_resample_deinit(&state->resample);
+}
+
static size_t
pcm_convert_16(const struct audio_format *src_format,
const void *src_buffer, size_t src_size,