aboutsummaryrefslogtreecommitdiffstats
path: root/src/pcm_resample_fallback.c
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2011-10-08 12:40:03 +0200
committerMax Kellermann <max@duempel.org>2011-10-08 13:32:29 +0200
commit14424281a0e1407ca04ef05a50541a4178f70e91 (patch)
tree1e499d063b925ac2dff0ef27db253ba42ba04367 /src/pcm_resample_fallback.c
parent2b3fd0d4d34be365e44fd53b3bf3c72f8b0a69ea (diff)
downloadmpd-14424281a0e1407ca04ef05a50541a4178f70e91.tar.gz
mpd-14424281a0e1407ca04ef05a50541a4178f70e91.tar.xz
mpd-14424281a0e1407ca04ef05a50541a4178f70e91.zip
pcm_resample: add internal function _lsr_init()
Let the libsamplerate code initialize itself.
Diffstat (limited to 'src/pcm_resample_fallback.c')
-rw-r--r--src/pcm_resample_fallback.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/pcm_resample_fallback.c b/src/pcm_resample_fallback.c
index 79c2f5176..b4d9d010f 100644
--- a/src/pcm_resample_fallback.c
+++ b/src/pcm_resample_fallback.c
@@ -23,6 +23,12 @@
#include <assert.h>
void
+pcm_resample_fallback_init(struct pcm_resample_state *state)
+{
+ pcm_buffer_init(&state->buffer);
+}
+
+void
pcm_resample_fallback_deinit(struct pcm_resample_state *state)
{
pcm_buffer_deinit(&state->buffer);