mixer: removed mixer_configure_legacy(), AC_MIXER_CONFIGURE
Those have been superseded by the new legacy configuration code.
This commit is contained in:
@@ -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;
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user