changeset 2172:2c6a11b88271

Reset the volume to 100 when we stop playback. That way, apps that start after Audacious will have the correct volume. A fix that sets the volume on playback start will follow.
author Jonathan Schleifer <js-audacious@webkeks.org>
date Sun, 18 Nov 2007 12:19:12 +0100
parents 02cfac0efbdc
children e31befc7f7c4
files src/OSS4/audio.c
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/OSS4/audio.c	Sun Nov 18 15:24:22 2007 +0900
+++ b/src/OSS4/audio.c	Sun Nov 18 12:19:12 2007 +0100
@@ -434,6 +434,8 @@
         return;
     going = 0;
 
+    oss_set_volume(100, 100);
+
     g_thread_join(buffer_thread);
 
     g_free(device_name);