diff --git a/src/mixer.cc b/src/mixer.cc index 0ba833c1..b8d09d09 100644 --- a/src/mixer.cc +++ b/src/mixer.cc @@ -52,7 +52,6 @@ static int mixer_fd; static const char *devs[] = SOUND_DEVICE_NAMES; -static int stereo_flags; int mixer_init(const char *name) { @@ -71,8 +70,6 @@ int mixer_init(const char *name) } } - ioctl(mixer_fd, SOUND_MIXER_READ_STEREODEVS, &stereo_flags); - for (i = 0; i < sizeof(devs) / sizeof(const char *); i++) { if (strcasecmp(devs[i], name) == 0) { return i; @@ -96,11 +93,6 @@ static int mixer_get(int i) } rep = 0; - if(!(stereo_flags & (1<