aboutsummaryrefslogtreecommitdiffstats
path: root/src/volume.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/volume.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/volume.c b/src/volume.c
index 9b1032294..e7fa20a62 100644
--- a/src/volume.c
+++ b/src/volume.c
@@ -111,20 +111,20 @@ mixer_copy_legacy_param(const char *type, const char *name)
it does not match the mixer_type setting */
g_error("no '%s' audio output found", type);
- output = newConfigParam(NULL, param->line);
- addBlockParam(output, "type", type, param->line);
- addBlockParam(output, "name", type, param->line);
+ output = config_new_param(NULL, param->line);
+ config_add_block_param(output, "type", type, param->line);
+ config_add_block_param(output, "name", type, param->line);
config_add_param(CONF_AUDIO_OUTPUT, output);
}
- bp = getBlockParam(output, name);
+ bp = config_get_block_param(output, name);
if (bp != NULL)
g_error("the '%s' audio output already has a '%s' setting",
type, name);
/* duplicate the parameter in the configuration section */
- addBlockParam(output, name, param->value, param->line);
+ config_add_block_param(output, name, param->value, param->line);
}
static void