From ecb20c5f7e728693bcb67981fdde44832f1ed028 Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Thu, 1 Jan 2009 18:36:47 +0100 Subject: mixer: renamed mix_* options to mixer_* There is no reason to use the shortcut "mix" instead of "mixer". --- src/mixer/alsa_mixer.c | 4 ++-- src/mixer/oss_mixer.c | 4 ++-- src/volume.c | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) (limited to 'src') diff --git a/src/mixer/alsa_mixer.c b/src/mixer/alsa_mixer.c index 506daf794..fa97211aa 100644 --- a/src/mixer/alsa_mixer.c +++ b/src/mixer/alsa_mixer.c @@ -43,9 +43,9 @@ alsa_mixer_configure(struct alsa_mixer *am, ConfigParam *param) { BlockParam *bp; - if ((bp = getBlockParam(param, "mix_device"))) + if ((bp = getBlockParam(param, "mixer_device"))) am->device = bp->value; - if ((bp = getBlockParam(param, "mix_control"))) + if ((bp = getBlockParam(param, "mixer_control"))) am->control = bp->value; } diff --git a/src/mixer/oss_mixer.c b/src/mixer/oss_mixer.c index ca4027f75..f3030d212 100644 --- a/src/mixer/oss_mixer.c +++ b/src/mixer/oss_mixer.c @@ -53,11 +53,11 @@ void oss_mixer_configure(struct oss_mixer *om, ConfigParam *param) { BlockParam *bp; - bp = getBlockParam(param, "mix_device"); + bp = getBlockParam(param, "mixer_device"); if (bp) { om->device = bp->value; } - bp = getBlockParam(param, "mix_control"); + bp = getBlockParam(param, "mixer_control"); if (bp) { om->control = bp->value; } diff --git a/src/volume.c b/src/volume.c index e41d1d0e1..3ba0355e6 100644 --- a/src/volume.c +++ b/src/volume.c @@ -57,12 +57,12 @@ mixer_reconfigure(char *driver) param = getConfigParam(CONF_MIXER_DEVICE); if (param) { g_warning("deprecated option mixer_device found, translating to %s config section\n", driver); - addBlockParam(newparam, "mix_device", param->value, -1); + addBlockParam(newparam, "mixer_device", param->value, -1); } param = getConfigParam(CONF_MIXER_CONTROL); if (param) { g_warning("deprecated option mixer_control found, translating to %s config section\n", driver); - addBlockParam(newparam, "mix_control", param->value, -1); + addBlockParam(newparam, "mixer_control", param->value, -1); } if (newparam->numberOfBlockParams > 0) { //call configure method of corrensponding mixer -- cgit v1.2.3