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.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/pcm_resample.h') diff --git a/src/pcm_resample.h b/src/pcm_resample.h index 167f15e8..1c71124a 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. */ -- cgit v1.2.3