quartz: Use more precise positioning information for the DSound
filter's reference clock
Chris Robinson
chris.kcat at gmail.com
Fri Apr 6 05:53:36 CDT 2007
-------------- next part --------------
From fb12e1979ba99c8b29e14ffe2d96a9d1d939e379 Mon Sep 17 00:00:00 2001
From: Chris Robinson <chris.kcat at gmail.com>
Date: Fri, 6 Apr 2007 03:50:23 -0700
Subject: [PATCH] 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 a13fa6f..ed2eda2 100644
--- a/dlls/quartz/dsoundrender.c
+++ b/dlls/quartz/dsoundrender.c
@@ -161,7 +161,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);
--
1.4.4.4
More information about the wine-patches
mailing list