QUARTZ: Add test for IReferenceClock

a_villacis at palosanto.com a_villacis at palosanto.com
Fri Aug 10 21:29:26 CDT 2007


This is the first of a series of patches that aim to improve IReferenceClock
support in quartz.dll so it can be actually used as synchronization for
media playback.

Someone mentioned that there were no tests for the IReferenceClock interface.
So, the first patch introduces the first test for IReferenceClock, with the
SystemClock implementation. This test is very incomplete, since it just tests
basic creation/destruction, and calling GetTime(). According to MSDN,
GetTime()
should return S_FALSE if a second call returns the same time value as the
first,
and S_OK if different. It seems the Wine implementation always returns
S_FALSE,
so this is marked as todo_wine.

I am interested in particular in testing this on an actual Windows
machine, to
highlight any deviations from MSDN documentation.

Changelog:
* Start a basic test for the IReferenceClock interface in quartz.dll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: wine-quartz-referenceclock-01-test.patch
Type: text/x-patch
Size: 4470 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-patches/attachments/20070810/909fbabe/wine-quartz-referenceclock-01-test-0001.bin


More information about the wine-patches mailing list