aboutsummaryrefslogtreecommitdiffstats
path: root/src/pcm_resample_libsamplerate.c
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2009-01-17 20:23:58 +0100
committerMax Kellermann <max@duempel.org>2009-01-17 20:23:58 +0100
commit0b29a22c088462f2d2c0fba8363423bd2ab41f1a (patch)
tree136eb8698c082242e896a71bfaa33e5138e026a6 /src/pcm_resample_libsamplerate.c
parent7acc62366cb59aba414821563cc89e01e96c1987 (diff)
downloadmpd-0b29a22c088462f2d2c0fba8363423bd2ab41f1a.tar.gz
mpd-0b29a22c088462f2d2c0fba8363423bd2ab41f1a.tar.xz
mpd-0b29a22c088462f2d2c0fba8363423bd2ab41f1a.zip
conf: replaced getConfigParamValue() with config_get_string()
Don't return a writable pointer.
Diffstat (limited to '')
-rw-r--r--src/pcm_resample_libsamplerate.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pcm_resample_libsamplerate.c b/src/pcm_resample_libsamplerate.c
index 5d2c31c1c..2e942b024 100644
--- a/src/pcm_resample_libsamplerate.c
+++ b/src/pcm_resample_libsamplerate.c
@@ -42,7 +42,7 @@ void pcm_resample_deinit(struct pcm_resample_state *state)
static int pcm_resample_get_converter(void)
{
- const char *conf = getConfigParamValue(CONF_SAMPLERATE_CONVERTER);
+ const char *conf = config_get_string(CONF_SAMPLERATE_CONVERTER, NULL);
long convalgo;
char *test;
const char *test2;