aboutsummaryrefslogtreecommitdiffstats
path: root/src/audio.c
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/audio.c
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 'src/audio.c')
-rw-r--r--src/audio.c17
1 files changed, 0 insertions, 17 deletions
diff --git a/src/audio.c b/src/audio.c
index 07f7f17cb..854dc8a05 100644
--- a/src/audio.c
+++ b/src/audio.c
@@ -466,20 +466,3 @@ bool mixer_control_getvol(unsigned int device, int *volume)
}
return false;
}
-
-bool mixer_configure_legacy(char *name, struct config_param *param)
-{
- unsigned i;
- struct audio_output *output;
-
- for (i = 0; i < audioOutputArraySize; ++i) {
- output = &audioOutputArray[i];
- if (output && output->plugin && !strcmp(name, output->plugin->name)) {
- if (output->plugin->control) {
- g_debug("reconfiguring %s mixer\n", name);
- return output->plugin->control(output->data, AC_MIXER_CONFIGURE, param);
- }
- }
- }
- return false;
-}