aboutsummaryrefslogtreecommitdiffstats
path: root/src/pcm_resample.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.h
parent894b9cfdb9fb69dbdde937c32726508472601402 (diff)
downloadmpd-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.h3
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.
*/