aboutsummaryrefslogtreecommitdiff
path: root/src/pcm_resample_fallback.c
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2009-01-07 22:20:30 +0100
committerMax Kellermann <max@duempel.org>2009-01-07 22:20:30 +0100
commit7f34e9410eeb638b44ba1c7f7711844bd410b3a7 (patch)
treeac6dfdc40ee3ad04733151ba396f153c719822cf /src/pcm_resample_fallback.c
parent97b844ec72a415da962ee37d6f5b5e527ded13d3 (diff)
pcm: added pcm_convert_deinit(), pcm_resample_deinit()
Free memory allocated by libsamplerate when the output or the decoder is closed.
Diffstat (limited to 'src/pcm_resample_fallback.c')
-rw-r--r--src/pcm_resample_fallback.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/pcm_resample_fallback.c b/src/pcm_resample_fallback.c
index a55efb82..560d68a8 100644
--- a/src/pcm_resample_fallback.c
+++ b/src/pcm_resample_fallback.c
@@ -22,6 +22,11 @@
#include <assert.h>
#include <glib.h>
+void pcm_resample_deinit(G_GNUC_UNUSED struct pcm_resample_state *state)
+{
+ /* no state, nothing to do */
+}
+
/* resampling code blatantly ripped from ESD */
size_t
pcm_resample_16(uint8_t channels,