amstream: Allow AMAudioStream and AMDirectDrawStream to be created by CoCreateInstance.

Signed-off-by: Anton Baskanov <baskanov@gmail.com>
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Anton Baskanov 2020-05-28 02:05:51 +07:00 committed by Alexandre Julliard
parent 5eb568354c
commit 7d07142b1f
2 changed files with 9 additions and 1 deletions

View File

@ -34,6 +34,13 @@ coclass MediaStreamFilter { interface IMediaStreamFilter; }
]
coclass AMDirectDrawStream { interface IAMMultiMediaStream; }
[
helpstring("AuStream Class"),
threading(both),
uuid(8496e040-af4c-11d0-8212-00c04fc32c45)
]
coclass AMAudioStream { interface IAMMediaStream; }
[
helpstring("MMStream Class"),
threading(both),

View File

@ -74,7 +74,8 @@ struct object_creation_info
static const struct object_creation_info object_creation[] =
{
{ &CLSID_AMMultiMediaStream, multimedia_stream_create },
{ &CLSID_AMDirectDrawStream, multimedia_stream_create },
{ &CLSID_AMDirectDrawStream, ddraw_stream_create },
{ &CLSID_AMAudioStream, audio_stream_create },
{ &CLSID_AMAudioData, AMAudioData_create },
{ &CLSID_MediaStreamFilter, filter_create }
};