diff options
Diffstat (limited to 'src/mixer/oss_mixer.c')
-rw-r--r-- | src/mixer/oss_mixer.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/mixer/oss_mixer.c b/src/mixer/oss_mixer.c index 13e325823..96339e85c 100644 --- a/src/mixer/oss_mixer.c +++ b/src/mixer/oss_mixer.c @@ -150,7 +150,6 @@ oss_mixer_get_volume(struct mixer *mixer) ret = ioctl(om->device_fd, MIXER_READ(om->volume_control), &level); if (ret < 0) { - oss_mixer_close(mixer); g_warning("unable to read oss volume\n"); return false; } @@ -184,7 +183,6 @@ oss_mixer_set_volume(struct mixer *mixer, unsigned volume) ret = ioctl(om->device_fd, MIXER_WRITE(om->volume_control), &level); if (ret < 0) { g_warning("unable to set oss volume\n"); - oss_mixer_close(mixer); return false; } |