From 2b3fd0d4d34be365e44fd53b3bf3c72f8b0a69ea Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Sat, 8 Oct 2011 13:14:29 +0200 Subject: pcm_resample: one-time global initialization Load the samplerate_converter on MPD startup. Fail if the converter name is invalid. --- 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 37aae96e..d8e0ba5a 100644 --- a/src/pcm_resample_internal.h +++ b/src/pcm_resample_internal.h @@ -32,6 +32,9 @@ #ifdef HAVE_LIBSAMPLERATE +bool +pcm_resample_lsr_global_init(const char *converter, GError **error_r); + void pcm_resample_lsr_deinit(struct pcm_resample_state *state); -- cgit v1.2.3