aboutsummaryrefslogtreecommitdiffstats
path: root/src/mixer
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2009-01-25 17:38:06 +0100
committerMax Kellermann <max@duempel.org>2009-01-25 17:38:06 +0100
commitdb2058a26580681911aed09b427472ccde0176dd (patch)
tree690ddf78cc11e529a00742b6856f054b2bc2f2c1 /src/mixer
parent188f9e663cbc109e2dc367eb7995dd8dd3fdf90f (diff)
downloadmpd-db2058a26580681911aed09b427472ccde0176dd.tar.gz
mpd-db2058a26580681911aed09b427472ccde0176dd.tar.xz
mpd-db2058a26580681911aed09b427472ccde0176dd.zip
mixer: removed mixer_configure_legacy(), AC_MIXER_CONFIGURE
Those have been superseded by the new legacy configuration code.
Diffstat (limited to '')
-rw-r--r--src/mixer/alsa_mixer.c5
-rw-r--r--src/mixer/oss_mixer.c6
2 files changed, 0 insertions, 11 deletions
diff --git a/src/mixer/alsa_mixer.c b/src/mixer/alsa_mixer.c
index 36ae76cc9..f3213c4cf 100644
--- a/src/mixer/alsa_mixer.c
+++ b/src/mixer/alsa_mixer.c
@@ -162,11 +162,6 @@ alsa_mixer_control(struct mixer_data *data, int cmd, void *arg)
{
struct alsa_mixer *am = (struct alsa_mixer *)data;
switch (cmd) {
- case AC_MIXER_CONFIGURE:
- alsa_mixer_configure(data, (const struct config_param *)arg);
- if (am->handle)
- alsa_mixer_close(data);
- return true;
case AC_MIXER_GETVOL:
{
int err;
diff --git a/src/mixer/oss_mixer.c b/src/mixer/oss_mixer.c
index 5185a867d..504fedc67 100644
--- a/src/mixer/oss_mixer.c
+++ b/src/mixer/oss_mixer.c
@@ -153,12 +153,6 @@ oss_mixer_control(struct mixer_data *data, int cmd, void *arg)
{
struct oss_mixer *om = (struct oss_mixer *) data;
switch (cmd) {
- case AC_MIXER_CONFIGURE:
- oss_mixer_configure(data, (const struct config_param *)arg);
- if (om->device_fd >= 0)
- oss_mixer_close(data);
- return true;
- break;
case AC_MIXER_GETVOL:
{
int left, right, level;