mixer: removed mixer_configure_legacy(), AC_MIXER_CONFIGURE

Those have been superseded by the new legacy configuration code.
This commit is contained in:
Max Kellermann
2009-01-25 17:38:06 +01:00
parent 188f9e663c
commit db2058a265
5 changed files with 0 additions and 30 deletions

View File

@@ -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;

View File

@@ -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;