aboutsummaryrefslogtreecommitdiffstats
path: root/src/mixer
diff options
context:
space:
mode:
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;