Chris Robinson : quartz: Use more precise positioning information for the DSound filter' s reference clock.

Alexandre Julliard julliard at wine.codeweavers.com
Sat Apr 7 05:23:17 CDT 2007


Module: wine
Branch: master
Commit: 2994695189a0ecb9b8f813de52e689ffdd73f716
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=2994695189a0ecb9b8f813de52e689ffdd73f716

Author: Chris Robinson <chris.kcat at gmail.com>
Date:   Fri Apr  6 03:50:23 2007 -0700

quartz: Use more precise positioning information for the DSound filter's reference clock.

---

 dlls/quartz/dsoundrender.c |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/dlls/quartz/dsoundrender.c b/dlls/quartz/dsoundrender.c
index 96f8133..d362ca0 100644
--- a/dlls/quartz/dsoundrender.c
+++ b/dlls/quartz/dsoundrender.c
@@ -154,7 +154,8 @@ static HRESULT DSoundRender_CreateSoundBuffer(IBaseFilter * iface)
 
     memset(&buf_desc,0,sizeof(DSBUFFERDESC));
     buf_desc.dwSize = sizeof(DSBUFFERDESC);
-    buf_desc.dwFlags = DSBCAPS_CTRLVOLUME | DSBCAPS_CTRLPAN | DSBCAPS_CTRLFREQUENCY;
+    buf_desc.dwFlags = DSBCAPS_CTRLVOLUME | DSBCAPS_CTRLPAN |
+                       DSBCAPS_CTRLFREQUENCY | DSBCAPS_GETCURRENTPOSITION2;
     buf_desc.dwBufferBytes = This->buf_size;
     buf_desc.lpwfxFormat = &wav_fmt;
     hr = IDirectSound_CreateSoundBuffer(This->dsound, &buf_desc, &This->dsbuffer, NULL);




More information about the wine-cvs mailing list