Initialize winearts's volume

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



ChangeLog
    Initialize winearts's volume level to full, so applications that don't set
    the volume are audible.

Index: audio.c
===================================================================
RCS file: /home/wine/wine/dlls/winmm/winearts/audio.c,v
retrieving revision 1.7
diff -u -3 -d -p -r1.7 audio.c
--- audio.c	17 Sep 2002 01:29:26 -0000	1.7
+++ audio.c	16 Oct 2002 19:33:43 -0000
@@ -1012,6 +1012,10 @@ static DWORD wodOpen(WORD wDevID, LPWAVE
     wwo->dwPlayedTotal = 0;
     wwo->dwWrittenTotal = 0;
 
+    /* Initialize volume to full level */
+    wwo->volume_left = 100;
+    wwo->volume_right = 100;
+
     ARTS_InitRingMessage(&wwo->msgRing);
 
     /* create player thread */

[Index of Archives]     [Gimp for Windows]     [Red Hat]     [Samba]     [Yosemite Camping]     [Graphics Cards]     [Wine Home]

  Powered by Linux