aboutsummaryrefslogtreecommitdiffstats
path: root/src/playerData.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/playerData.c')
-rw-r--r--src/playerData.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/playerData.c b/src/playerData.c
index 2731e916b..a2e12562d 100644
--- a/src/playerData.c
+++ b/src/playerData.c
@@ -34,9 +34,9 @@ void initPlayerData(void)
float perc = DEFAULT_BUFFER_BEFORE_PLAY;
char *test;
size_t bufferSize = DEFAULT_BUFFER_SIZE;
- ConfigParam *param;
+ struct config_param *param;
- param = getConfigParam(CONF_AUDIO_BUFFER_SIZE);
+ param = config_get_param(CONF_AUDIO_BUFFER_SIZE);
if (param) {
bufferSize = strtol(param->value, &test, 10);
@@ -54,7 +54,7 @@ void initPlayerData(void)
FATAL("buffer size \"%li\" is too big\n", (long)bufferSize);
}
- param = getConfigParam(CONF_BUFFER_BEFORE_PLAY);
+ param = config_get_param(CONF_BUFFER_BEFORE_PLAY);
if (param) {
perc = strtod(param->value, &test);