conf: replaced getConfigParamValue() with config_get_string()

Don't return a writable pointer.
This commit is contained in:
Max Kellermann
2009-01-17 20:23:58 +01:00
parent 7acc62366c
commit 0b29a22c08
5 changed files with 12 additions and 9 deletions

View File

@@ -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;