aboutsummaryrefslogtreecommitdiff
path: root/src/pcm_resample_internal.h
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2011-10-08 13:14:29 +0200
committerMax Kellermann <max@duempel.org>2011-10-08 13:14:29 +0200
commit2b3fd0d4d34be365e44fd53b3bf3c72f8b0a69ea (patch)
tree645214575b9f1aab54312120694d60c591993fce /src/pcm_resample_internal.h
parent894b9cfdb9fb69dbdde937c32726508472601402 (diff)
pcm_resample: one-time global initialization
Load the samplerate_converter on MPD startup. Fail if the converter name is invalid.
Diffstat (limited to 'src/pcm_resample_internal.h')
-rw-r--r--src/pcm_resample_internal.h3
1 files changed, 3 insertions, 0 deletions
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);