[Bug 7670] No battle sounds in Guild Wars

Wine Bugs wine-bugs at winehq.org
Mon Jul 2 15:36:33 CDT 2007


http://bugs.winehq.org/show_bug.cgi?id=7670





------- Additional Comments From romain.iehl at gmail.com  2007-02-07 15:36 -------
It is indeed a sound volume problem, I applied the following patch to
dlls/dsound/mixer.c :
--- mixer.c.orig        2007-07-02 22:29:13.000000000 +0200
+++ mixer.c     2007-07-02 22:29:26.000000000 +0200
@@ -315,6 +315,10 @@
        BYTE    *bpc = buf;
        INT16   *bps = (INT16 *) buf;
 
+       if (dsb->volpan.dwTotalLeftAmpFactor == 0) {
+         dsb->volpan.dwTotalLeftAmpFactor = 15000;
+       }
+
        TRACE("(%p,%p,%d)\n",dsb,buf,len);
        TRACE("left = %x, right = %x\n", dsb->volpan.dwTotalLeftAmpFactor,
                dsb->volpan.dwTotalRightAmpFactor);

and was able to hear battle sounds in the left earphone (among other normally
inaudible sounds). So, for some reason, battle sounds work but are played at 0
volume.

-- 
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.



More information about the wine-bugs mailing list