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.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 '')
-rw-r--r-- | src/pcm_resample.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/pcm_resample.h b/src/pcm_resample.h index 167f15e8c..1c71124a6 100644 --- a/src/pcm_resample.h +++ b/src/pcm_resample.h @@ -54,6 +54,9 @@ struct pcm_resample_state { struct pcm_buffer buffer; }; +bool +pcm_resample_global_init(GError **error_r); + /** * Initializes a pcm_resample_state object. */ |