Mercurial > audlegacy-plugins
diff src/OSS4/audio.c @ 2259:98fa8fe789a4
Actually, we have to reset in oss_loop() as this calls close().
author | Jonathan Schleifer <js@webkeks.org> |
---|---|
date | Fri, 21 Dec 2007 16:51:56 +0100 |
parents | b55720f38a3c |
children | 6b854a93649c |
line wrap: on
line diff
--- a/src/OSS4/audio.c Fri Dec 21 16:36:22 2007 +0100 +++ b/src/OSS4/audio.c Fri Dec 21 16:51:56 2007 +0100 @@ -442,7 +442,6 @@ wr_index = 0; rd_index = 0; - oss_set_volume(start_vol_l, start_vol_r); close_mixer_device(); } @@ -532,6 +531,7 @@ } ioctl(fd, SNDCTL_DSP_SYNC, 0); + oss_set_volume(start_vol_l, start_vol_r); close(fd); g_free(buffer); return NULL;