diff options
author | Max Kellermann <max@duempel.org> | 2011-10-08 13:14:29 +0200 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2011-10-08 13:14:29 +0200 |
commit | 2b3fd0d4d34be365e44fd53b3bf3c72f8b0a69ea (patch) | |
tree | 645214575b9f1aab54312120694d60c591993fce /src/pcm_resample_internal.h | |
parent | 894b9cfdb9fb69dbdde937c32726508472601402 (diff) | |
download | mpd-2b3fd0d4d34be365e44fd53b3bf3c72f8b0a69ea.tar.gz mpd-2b3fd0d4d34be365e44fd53b3bf3c72f8b0a69ea.tar.xz mpd-2b3fd0d4d34be365e44fd53b3bf3c72f8b0a69ea.zip |
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.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/pcm_resample_internal.h b/src/pcm_resample_internal.h index 37aae96ef..d8e0ba5a1 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); |