Mercurial > audlegacy-plugins
changeset 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 | 44d97ff5d0e3 |
children | b71d8bee8882 |
files | src/OSS4/audio.c |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
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;