[PATCH] Added missing line

webmaster at tonstube.de webmaster at tonstube.de
Sat Apr 26 12:07:46 CDT 2008


From: Matthias Derer <webmaster at tonstube.de>

Added a line that has been accidently deleted in 0.9.58 resulting in buffer underruns when using the jack audio server
fixes http://bugs.winehq.org/show_bug.cgi?id=12680
---
 dlls/winejack.drv/audio.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/dlls/winejack.drv/audio.c b/dlls/winejack.drv/audio.c
index 0e742f4..b196e4a 100644
--- a/dlls/winejack.drv/audio.c
+++ b/dlls/winejack.drv/audio.c
@@ -1307,6 +1307,7 @@ static DWORD wodOpen(WORD wDevID, LPWAVEOPENDESC lpDesc, DWORD dwFlags)
 
     dwFlags &= ~WAVE_DIRECTSOUND;  /* direct sound not supported, ignore the flag */
 
+    wwo->wFlags = HIWORD(dwFlags & CALLBACK_TYPEMASK);
 
     wwo->waveDesc = *lpDesc;
     memcpy(&wwo->format,   lpDesc->lpFormat, sizeof(PCMWAVEFORMAT));
-- 
1.5.5




More information about the wine-patches mailing list