Commit Graph

53 Commits

Author SHA1 Message Date
Anton Baskanov 2622690534 amstream: Use streams as pins in MediaStreamFilter.
Signed-off-by: Anton Baskanov <baskanov@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-03-01 19:26:29 +01:00
Anton Baskanov ee94f80cdf amstream: Add stub IPin and IMemInputPin to AMAudioStream.
Signed-off-by: Anton Baskanov <baskanov@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-03-01 19:26:20 +01:00
Anton Baskanov f7febb8277 amstream: Add stub IPin and IMemInputPin to AMDirectDrawStream.
Signed-off-by: Anton Baskanov <baskanov@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-03-01 19:26:13 +01:00
Michael Stefaniuc 0e0cc67c5a amstream/tests: Use SetRectEmpty() instead of memset().
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-04-19 09:11:43 +02:00
Anton Baskanov d283051b6b amstream: Implement AMAudioData::SetFormat.
Signed-off-by: Anton Baskanov <baskanov@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-08-02 09:13:40 -05:00
Anton Baskanov fa542355e9 amstream: Implement AMAudioData::GetFormat.
Signed-off-by: Anton Baskanov <baskanov@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-08-02 09:13:38 -05:00
Anton Baskanov 634deaf874 amstream: Implement AMAudioData::SetActual.
Signed-off-by: Anton Baskanov <baskanov@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-08-02 09:13:36 -05:00
Anton Baskanov d4db4bfd72 amstream: Implement AMAudioData::SetBuffer.
Signed-off-by: Anton Baskanov <baskanov@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-08-02 09:13:34 -05:00
Anton Baskanov 6010ebb22f amstream: Implement AMAudioData::GetInfo.
Signed-off-by: Anton Baskanov <baskanov@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-08-02 09:13:31 -05:00
Anton Baskanov 4a0db15622 amstream: Fix AMAudioData::QueryInterface.
Signed-off-by: Anton Baskanov <baskanov@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-08-02 09:13:29 -05:00
Nikolay Sivov b9357ecaad amstream/tests: Simplify refcount check.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-05-17 11:49:38 +09:00
Michael Müller 9eaa372499 amstream: Implement IAudioMediaStream::GetMultiMediaStream.
Signed-off-by: Michael Müller <michael@fds-team.de>
Signed-off-by: Sebastian Lackner <sebastian@fds-team.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-05-04 01:03:31 +09:00
Michael Müller dc732ffa7f amstream: Implement IAMMediaStream::GetMultiMediaStream for audio.
Signed-off-by: Michael Müller <michael@fds-team.de>
Signed-off-by: Sebastian Lackner <sebastian@fds-team.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-05-04 01:03:31 +09:00
Michael Müller c88f4b85bc amstream: Implement IDirectDrawMediaStream::GetMultiMediaStream.
Signed-off-by: Michael Müller <michael@fds-team.de>
Signed-off-by: Sebastian Lackner <sebastian@fds-team.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-05-04 01:03:30 +09:00
Michael Müller 0dc09c032d amstream: Implement IAMMediaStream::GetMultiMediaStream for video.
Signed-off-by: Michael Müller <michael@fds-team.de>
Signed-off-by: Sebastian Lackner <sebastian@fds-team.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-05-04 01:03:30 +09:00
Sebastian Lackner 04c3a9bad2 amstream/tests: Add tests for GetMultiMediaStream methods.
Signed-off-by: Sebastian Lackner <sebastian@fds-team.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-05-04 01:03:30 +09:00
Nikolay Sivov b752d3d44b amstream/tests: Correct sizeof expression to actually get array size (PVS-Studio).
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-10-13 18:41:27 +09:00
Nikolay Sivov ed06707bac amstream: Create a surface if it wasn't provided in CreateSample(). 2015-06-24 15:28:50 +09:00
Nikolay Sivov eb0b1d55e4 amstream: Implement GetDirectDraw(). 2015-06-23 17:20:23 +09:00
Nikolay Sivov 139445eb49 amstream: Implement IDirectDrawStreamSample_GetSurface(). 2015-06-23 17:20:12 +09:00
Nikolay Sivov 84c2fda63d amstream/tests: Get rid of global stream pointer that we don't really need. 2015-06-22 15:32:09 +09:00
Alexandre Julliard 99ef0d6ff0 makefiles: Get rid of the MAKE_TEST_RULES variable. 2014-01-02 12:13:16 +01:00
Christian Costa 7272256a60 amstream: Check filename pointer in IAMMultiMediaStreamImpl_OpenFile. 2012-10-12 12:11:48 +02:00
Christian Costa e8c256b185 amstream: Add IAMMediaStream interface to AudioMediaStream object. 2012-09-24 09:59:16 +02:00
Christian Costa 6b73c61c63 amstream: Add IAMMediaStream interface to DirectDrawMediaStream object. 2012-09-24 09:58:42 +02:00
Nikolay Sivov bd102b5276 amstream: Call interface methods properly. 2012-08-20 10:58:32 +02:00
Francois Gouget fac36c55e9 Assorted typo, spelling, wording and case fixes. 2012-05-15 16:26:43 +02:00
Christian Costa dec3d50290 amstream: Add the corresponding pin to every media stream added to the media stream filter + add tests. 2012-05-04 18:11:00 +02:00
Christian Costa 49762b1679 amstream: Add checks to GetFormat. 2012-05-04 18:09:30 +02:00
Christian Costa 5c09a11e08 amstream: Add stubbed implementation of AudioStreamSample. 2012-04-26 19:29:26 +02:00
Christian Costa 60a8a27b2b amstream: Add stubbed implementation of DirectDrawStreamSample. 2012-04-26 19:29:12 +02:00
Christian Costa d5bbdabf28 amstream: Add IAudioMediaStream stub implementation. 2012-04-24 18:41:41 +02:00
Christian Costa 0f8553b5d4 amstream: Add CLSID_AMAudioData implementation. 2012-04-04 17:20:01 +02:00
Christian Costa 303ce38bb3 amstream/tests: Add tests for querying interfaces and creating samples on video and audio media streams. 2012-03-28 11:48:45 +02:00
Christian Costa 3aab797929 amstream/tests: Verify if the dsound renderer is created when we create an audio stream with the default renderer. 2012-03-28 11:48:40 +02:00
Christian Costa 1349cf6902 amstream: Add stream to the media stream filter in IAMMultiMediaStreamImpl_AddMediaStream. 2012-03-28 11:48:35 +02:00
Christian Costa 7fe02c47f3 amstream/tests: Add some tests to retreive media streams to media stream filter. 2012-03-26 18:15:48 +02:00
Christian Costa 6db90e0e9e amstream: Implement IAMMultiMediaStreamImpl_AddMediaStream + add tests. 2012-03-26 18:15:47 +02:00
Christian Costa aae32fd4fd amstream: No media stream is created when the defaut renderer is used. 2012-03-26 18:15:47 +02:00
Christian Costa 5512d8e700 amstream: Video streams do not support default renderer. 2012-03-26 18:15:46 +02:00
Christian Costa f5ee1304ef amstream: Check purpose id in AddMediaStream. 2012-03-26 18:15:45 +02:00
Christian Costa 872b515304 amstream/tests: Add media streams tests. 2012-03-26 18:15:45 +02:00
Christian Costa 34a1917fb3 amstream/tests: Make test.avi filename an unicode string and test the file presence once for all. 2012-03-26 18:15:44 +02:00
Francois Gouget 3de330db54 tests: Remove unneeded assert.h includes. 2011-09-27 10:59:56 +02:00
Alexandre Julliard 730f01801f tests: Make some variables static. 2010-10-01 13:41:42 +02:00
Alexandre Julliard 81b8ee863e makefiles: Add a standard header for all makefiles to replace the common variable initializations. 2010-09-19 12:36:48 +02:00
Alexandre Julliard b86d515ed6 dlls: Remove explicit imports of kernel32 and ntdll. 2010-07-21 17:38:36 +02:00
Alexandre Julliard bef5645eb1 makefiles: Remove the no longer needed explicit separators for dependencies. 2010-03-16 13:28:19 +01:00
Alexandre Julliard 6164ce2d82 makefiles: Use the standard C_SRCS variable as the list of test files.
This enables it to be auto-updated by make_makefiles.
2010-02-22 10:47:11 +01:00
Marcus Meissner 870bb4e6de amstream/tests: Handle directdraw not being created (Coverity 920). 2009-04-22 13:13:47 +02:00