Commit Graph

1228 Commits

Author SHA1 Message Date
Zebediah Figura f55e90a508 quartz/systemclock: Get rid of the SystemClockImpl typedef.
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-03-18 10:11:17 +01:00
Zebediah Figura 6f3238168e quartz/systemclock: Clean up the remaining IUnknown methods.
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-03-18 10:11:14 +01:00
Zebediah Figura 1ecf2bf129 quartz/systemclock: Store all the sinks in a single list.
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-03-18 10:11:07 +01:00
Zebediah Figura 76e6fc92f9 quartz/systemclock: Avoid using the sink structure pointer as a cookie.
The same pointer address may be allocated to multiple different structures.

Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-03-18 10:11:03 +01:00
Zebediah Figura ba5a6436f8 quartz/systemclock: Clarify some field names.
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-03-15 20:00:57 +01:00
Zebediah Figura b5eff130a7 quartz/systemclock: Also wake the semaphore at the given start time.
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-03-15 20:00:55 +01:00
Zebediah Figura 9ff0c09e38 quartz/systemclock: Simplify notifying the advise thread.
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-03-15 20:00:47 +01:00
Zebediah Figura 0467b96c4f quartz/systemclock: Use GetTickCount64() directly.
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-03-15 20:00:45 +01:00
Zebediah Figura d7e9563b15 quartz/systemclock: Use the standard linked list implementation.
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-03-15 20:00:39 +01:00
Zebediah Figura fa26231748 quartz/systemclock: Use the global HeapAlloc() wrappers.
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-03-15 00:31:00 +01:00
Zebediah Figura b789c44bea quartz/tests: Add some tests for advising from system clock.
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-03-15 00:30:58 +01:00
Zebediah Figura 94063ac1f8 quartz/tests: Add a missing call to ITypeInfo_ReleaseTypeAttr().
Spotted by Nikolay Sivov.

Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-03-15 00:30:55 +01:00
Zebediah Figura 3befa57d6a quartz/tests: Fix static link to GetTickCount64().
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-03-15 00:30:53 +01:00
Zebediah Figura 9068ad0f09 quartz/systemclock: Simplify SystemClockImpl_GetTime().
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-03-13 23:40:39 +01:00
Zebediah Figura 8907220c5a quartz/tests: Rewrite test_IReferenceClock_methods().
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-03-13 23:40:39 +01:00
Zebediah Figura c3e4b3a30e quartz/tests: Clean up test_IReferenceClock_query_interface().
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-03-13 23:40:39 +01:00
Zebediah Figura a71e6442f8 quartz/tests: Rename referenceclock.c to systemclock.c.
To match the Wine source file.

Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-03-13 23:40:39 +01:00
Zebediah Figura 3b8770df8d quartz/tests: Add some tests for IBasicAudio on the DirectSound renderer.
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-03-13 23:40:39 +01:00
Michael Stefaniuc 91b53147f1 quartz: Remove an unused return variable (coccinelle).
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-03-12 21:36:09 +01:00
Zebediah Figura 6f81d51e38 quartz/tests: Add some tests for DirectSound renderer pin interfaces.
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-03-12 10:53:40 +01:00
Zebediah Figura e657ea662f quartz/tests: Add some tests for querying DirectSound renderer pin information.
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-03-12 10:53:40 +01:00
Zebediah Figura 18fe24ae08 quartz/tests: Add some tests for IBaseFilter_FindPin() on the DirectSound renderer.
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-03-12 10:53:40 +01:00
Zebediah Figura 4f16a137da strmbase: Correct pin IDs for renderers.
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-03-12 10:53:40 +01:00
Zebediah Figura 294af5ee91 quartz/tests: Add some tests for IBaseFilter_EnumPins() on the DirectSound renderer.
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-03-12 10:53:40 +01:00
Zebediah Figura cbb7fd5256 quartz/tests: Clean up test_query_interface().
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-03-12 10:53:40 +01:00
Zebediah Figura fd2412fbe5 quartz/tests: Clean up tests for IPersistPropertyBag on the DirectSound renderer.
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-03-12 10:53:40 +01:00
Zebediah Figura 2d9d66b7b2 quartz/tests: Add some tests for ACM wrapper pin interfaces.
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-03-12 10:53:40 +01:00
Zebediah Figura 865f471a64 quartz/tests: Add some tests for querying ACM wrapper pin information.
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-03-08 10:33:44 +01:00
Zebediah Figura 92236655e8 quartz/tests: Add some tests for IBaseFilter_FindPin() on the ACM wrapper.
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-03-08 10:33:44 +01:00
Zebediah Figura 6a99f1da9f quartz/tests: Add some tests for IBaseFilter_EnumPins() on the ACM wrapper.
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-03-08 10:33:44 +01:00
Zebediah Figura 908d768f9e quartz/tests: Add some tests for ACM wrapper filter interfaces.
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-03-08 10:33:44 +01:00
Zebediah Figura fd5e649044 quartz/tests: Add initial tests for AVI decompressor media types.
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-03-08 10:33:44 +01:00
Zebediah Figura 32e7cb762b quartz/tests: Add some tests for AVI decompressor pin interfaces.
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-03-08 10:13:33 +01:00
Zebediah Figura 4576a93b5d quartz/tests: Add some tests for querying AVI decompressor pin information.
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-03-06 10:06:31 +01:00
Zebediah Figura 6824f2464c quartz/tests: Add some tests for IBaseFilter_FindPin() on the AVI decompressor.
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-03-06 10:06:29 +01:00
Zebediah Figura 1cabe7e4a3 strmbase/transform: Get rid of superfluous npins field.
Also return the correct number of pins in TransformFilter_GetPinCount().

Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-03-06 10:06:23 +01:00
Zebediah Figura 36efe783af quartz/tests: Add some tests for IBaseFilter_EnumPins() on the AVI decompressor.
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-03-06 10:06:20 +01:00
Zebediah Figura cba1f10e6d quartz/tests: Add some tests for AVI decompressor filter interfaces.
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-03-06 10:06:17 +01:00
Zebediah Figura 130c9b3445 quartz/tests: Add some tests for WAVE parser media types.
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-03-05 21:22:15 +01:00
Zebediah Figura 2b23682ddd quartz/waveparser: Fill out all members of the source media type.
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-03-05 20:43:34 +01:00
Zebediah Figura c0c58761e7 quartz/waveparser: Always allocate at least a WAVEFORMATEX for the source media type.
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-03-05 20:43:30 +01:00
Zebediah Figura ec7419fc78 quartz/tests: Add some tests for WAVE parser pin interfaces.
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-03-05 20:43:24 +01:00
Zebediah Figura 19238cd140 quartz/tests: Add some tests for querying WAVE parser pin information.
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-03-05 20:43:15 +01:00
Zebediah Figura 38a52d0e59 quartz/tests: Add some tests for IBaseFilter_FindPin() on the WAVE parser.
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-03-05 20:43:11 +01:00
Zebediah Figura c5a8e1bace quartz/waveparser: Fix source pin name.
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-03-05 20:43:05 +01:00
Zebediah Figura 43e208e349 quartz/tests: Add some tests for IBaseFilter_EnumPins().
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-03-04 12:37:03 +01:00
Zebediah Figura 0e4acebb7e quartz/waveparser: Ignore unsupported chunks when connecting.
In particular, the test file just added contains 'LIST' chunks.

Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-03-04 12:37:03 +01:00
Zebediah Figura dc8cb0c370 quartz/tests: Add a test WAVE file.
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-03-04 12:37:03 +01:00
Zebediah Figura 395f5271cc quartz/tests: Add some tests for filter interfaces.
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-03-04 12:37:03 +01:00
Zebediah Figura b01bbd8473 quartz/tests: Add some tests for media types.
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-03-04 12:37:03 +01:00