Module: wine
Branch: master
Commit: c7bdc8881204a88d68104fbb77e961a04e74756c
URL: http://source.winehq.org/git/wine.git/?a=commit;h=c7bdc8881204a88d68104fbb7…
Author: Vincent Povirk <vincent(a)codeweavers.com>
Date: Mon Nov 2 15:16:29 2015 -0600
gdiplus: Return Ok from GdipSetMetafileDownLevelRasterizationLimit.
Until we have a reason to use this value (application asks for it or
we're building the emf part of a dual emf+), there's no need to worry
about this.
Signed-off-by: Vincent Povirk <vincent(a)codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard(a)winehq.org>
---
dlls/gdiplus/metafile.c | 7 +------
1 file changed, 1 insertion(+), 6 deletions(-)
diff --git a/dlls/gdiplus/metafile.c b/dlls/gdiplus/metafile.c
index 6d7048a..ad1b7fc 100644
--- a/dlls/gdiplus/metafile.c
+++ b/dlls/gdiplus/metafile.c
@@ -1141,14 +1141,9 @@ GpStatus WINGDIPAPI GdipCreateMetafileFromStream(IStream *stream,
GpStatus WINGDIPAPI GdipSetMetafileDownLevelRasterizationLimit(GpMetafile *metafile,
UINT limitDpi)
{
- static int calls;
-
TRACE("(%p,%u)\n", metafile, limitDpi);
- if(!(calls++))
- FIXME("not implemented\n");
-
- return NotImplemented;
+ return Ok;
}
GpStatus WINGDIPAPI GdipConvertToEmfPlus(const GpGraphics* ref,
Module: wine
Branch: master
Commit: 69da3a24d24c8d995177aaaba601d63a75840519
URL: http://source.winehq.org/git/wine.git/?a=commit;h=69da3a24d24c8d995177aaaba…
Author: Andrew Eikum <aeikum(a)codeweavers.com>
Date: Mon Nov 2 11:55:24 2015 -0600
mmdevapi/tests: Remove todo_wine on some tests for winepulse.
winepulse succeeds where other drivers fail. Avoid todo_wine failures
when running winepulse.
Signed-off-by: Andrew Eikum <aeikum(a)codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard(a)winehq.org>
---
dlls/mmdevapi/tests/capture.c | 27 ++++++++++++++++++++-------
1 file changed, 20 insertions(+), 7 deletions(-)
diff --git a/dlls/mmdevapi/tests/capture.c b/dlls/mmdevapi/tests/capture.c
index afb99fc..865859b 100644
--- a/dlls/mmdevapi/tests/capture.c
+++ b/dlls/mmdevapi/tests/capture.c
@@ -244,7 +244,11 @@ static void test_capture(IAudioClient *ac, HANDLE handle, WAVEFORMATEX *wfx)
ok(hr == S_OK, "Valid IAudioCaptureClient_GetBuffer returns %08x\n", hr);
ok(frames2 == frames, "GetBuffer after ReleaseBuffer(0) %u/%u\n", frames2, frames);
ok(pos2 == pos, "Position after ReleaseBuffer(0) %u/%u\n", (UINT)pos2, (UINT)pos);
- todo_wine ok(qpc2 == qpc, "HPC after ReleaseBuffer(0) %u vs. %u\n", (UINT)qpc2, (UINT)qpc);
+ if(qpc2 != qpc)
+ /* FIXME: Some drivers fail */
+ todo_wine ok(qpc2 == qpc, "HPC after ReleaseBuffer(0) %u vs. %u\n", (UINT)qpc2, (UINT)qpc);
+ else
+ ok(qpc2 == qpc, "HPC after ReleaseBuffer(0) %u vs. %u\n", (UINT)qpc2, (UINT)qpc);
}
/* trace after the GCP test because log output to MS-DOS console disturbs timing */
@@ -307,14 +311,23 @@ static void test_capture(IAudioClient *ac, HANDLE handle, WAVEFORMATEX *wfx)
if(hr == S_OK){
/* The discontinuity is reported here, but is this an old or new packet? */
- todo_wine ok(flags & AUDCLNT_BUFFERFLAGS_DATA_DISCONTINUITY, "expect DISCONTINUITY %x\n", flags);
+ if(!(flags & AUDCLNT_BUFFERFLAGS_DATA_DISCONTINUITY)){
+ /* FIXME: Some drivers fail */
+ todo_wine ok(flags & AUDCLNT_BUFFERFLAGS_DATA_DISCONTINUITY, "expect DISCONTINUITY %x\n", flags);
+ todo_wine ok(pos == sum + frames, "Position %u gap %d\n",
+ (UINT)pos, (UINT)pos - sum);
+ }else{
+ ok(flags & AUDCLNT_BUFFERFLAGS_DATA_DISCONTINUITY, "expect DISCONTINUITY %x\n", flags);
+
+ /* Native's position is one period further than what we read.
+ * Perhaps that's precisely the meaning of DATA_DISCONTINUITY:
+ * signal when the position jump left a gap. */
+ ok(pos == sum + frames, "Position %u gap %d\n",
+ (UINT)pos, (UINT)pos - sum);
+ }
+
ok(pad == next, "GCP %u vs. BufferSize %u\n", (UINT32)pad, next);
- /* Native's position is one period further than what we read.
- * Perhaps that's precisely the meaning of DATA_DISCONTINUITY:
- * signal when the position jump left a gap. */
- todo_wine ok(pos == sum + frames, "Position %u gap %d\n",
- (UINT)pos, (UINT)pos - sum);
if(flags & AUDCLNT_BUFFERFLAGS_DATA_DISCONTINUITY)
sum = pos;
}