Commit 80a2e6e9 authored by Christian Costa's avatar Christian Costa Committed by Alexandre Julliard

Added WAVE parser.

parent 1510cce8
...@@ -27,7 +27,8 @@ C_SRCS = \ ...@@ -27,7 +27,8 @@ C_SRCS = \
regsvr.c \ regsvr.c \
systemclock.c \ systemclock.c \
transform.c \ transform.c \
videorenderer.c videorenderer.c \
waveparser.c
RC_SRCS = version.rc RC_SRCS = version.rc
......
...@@ -70,7 +70,8 @@ static const struct object_creation_info object_creation[] = ...@@ -70,7 +70,8 @@ static const struct object_creation_info object_creation[] =
{ &CLSID_DSoundRender, DSoundRender_create }, { &CLSID_DSoundRender, DSoundRender_create },
{ &CLSID_AVIDec, AVIDec_create }, { &CLSID_AVIDec, AVIDec_create },
{ &CLSID_SystemClock, &QUARTZ_CreateSystemClock }, { &CLSID_SystemClock, &QUARTZ_CreateSystemClock },
{ &CLSID_ACMWrapper, &ACMWrapper_create } { &CLSID_ACMWrapper, &ACMWrapper_create },
{ &CLSID_WAVEParser, &WAVEParser_create }
}; };
static HRESULT WINAPI static HRESULT WINAPI
......
...@@ -51,6 +51,7 @@ HRESULT DSoundRender_create(IUnknown * pUnkOuter, LPVOID * ppv); ...@@ -51,6 +51,7 @@ HRESULT DSoundRender_create(IUnknown * pUnkOuter, LPVOID * ppv);
HRESULT VideoRenderer_create(IUnknown * pUnkOuter, LPVOID * ppv); HRESULT VideoRenderer_create(IUnknown * pUnkOuter, LPVOID * ppv);
HRESULT QUARTZ_CreateSystemClock(IUnknown * pUnkOuter, LPVOID * ppv); HRESULT QUARTZ_CreateSystemClock(IUnknown * pUnkOuter, LPVOID * ppv);
HRESULT ACMWrapper_create(IUnknown * pUnkOuter, LPVOID * ppv); HRESULT ACMWrapper_create(IUnknown * pUnkOuter, LPVOID * ppv);
HRESULT WAVEParser_create(IUnknown * pUnkOuter, LPVOID * ppv);
HRESULT EnumMonikerImpl_Create(IMoniker ** ppMoniker, ULONG nMonikerCount, IEnumMoniker ** ppEnum); HRESULT EnumMonikerImpl_Create(IMoniker ** ppMoniker, ULONG nMonikerCount, IEnumMoniker ** ppEnum);
......
...@@ -916,6 +916,12 @@ static struct regsvr_coclass const coclass_list[] = { ...@@ -916,6 +916,12 @@ static struct regsvr_coclass const coclass_list[] = {
"quartz.dll", "quartz.dll",
"Both" "Both"
}, },
{ &CLSID_WAVEParser,
"Wave Parser",
NULL,
"quartz.dll",
"Both"
},
{ NULL } /* list terminator */ { NULL } /* list terminator */
}; };
...@@ -1087,6 +1093,25 @@ static struct regsvr_filter const filter_list[] = { ...@@ -1087,6 +1093,25 @@ static struct regsvr_filter const filter_list[] = {
{ 0xFFFFFFFF }, { 0xFFFFFFFF },
} }
}, },
{ &CLSID_WAVEParser,
&CLSID_LegacyAmFilterCategory,
{'W','a','v','e',' ','P','a','r','s','e','r',0},
0x400000,
{ { 0,
{ { &MEDIATYPE_Stream, &MEDIASUBTYPE_WAVE },
{ &MEDIATYPE_Stream, &MEDIASUBTYPE_AU },
{ &MEDIATYPE_Stream, &MEDIASUBTYPE_AIFF },
{ NULL }
},
},
{ REG_PINFLAG_B_OUTPUT,
{ { &MEDIATYPE_Audio, &GUID_NULL },
{ NULL }
},
},
{ 0xFFFFFFFF },
}
},
{ NULL } /* list terminator */ { NULL } /* list terminator */
}; };
......
...@@ -130,6 +130,7 @@ OUR_GUID_ENTRY(CLSID_CaptureProperties, 0x1b544c22, 0xfd0b, 0x11ce, ...@@ -130,6 +130,7 @@ OUR_GUID_ENTRY(CLSID_CaptureProperties, 0x1b544c22, 0xfd0b, 0x11ce,
OUR_GUID_ENTRY(CLSID_FGControl, 0xe436ebb4, 0x524f, 0x11ce, 0x9f, 0x53, 0x00, 0x20, 0xaf, 0x0b, 0xa7, 0x70) OUR_GUID_ENTRY(CLSID_FGControl, 0xe436ebb4, 0x524f, 0x11ce, 0x9f, 0x53, 0x00, 0x20, 0xaf, 0x0b, 0xa7, 0x70)
OUR_GUID_ENTRY(CLSID_MOVReader, 0x44584800, 0xf8ee, 0x11ce, 0xb2, 0xd4, 0x00, 0xdd, 0x01, 0x10, 0x1b, 0x85) OUR_GUID_ENTRY(CLSID_MOVReader, 0x44584800, 0xf8ee, 0x11ce, 0xb2, 0xd4, 0x00, 0xdd, 0x01, 0x10, 0x1b, 0x85)
OUR_GUID_ENTRY(CLSID_QuickTimeParser, 0xd51bd5a0, 0x7548, 0x11cf, 0xa5, 0x20, 0x00, 0x80, 0xc7, 0x7e, 0xf5, 0x8a) OUR_GUID_ENTRY(CLSID_QuickTimeParser, 0xd51bd5a0, 0x7548, 0x11cf, 0xa5, 0x20, 0x00, 0x80, 0xc7, 0x7e, 0xf5, 0x8a)
OUR_GUID_ENTRY(CLSID_WAVEParser, 0xd51bd5a1, 0x7548, 0x11cf, 0xa5, 0x20, 0x00, 0x80, 0xc7, 0x7e, 0xf5, 0x8a)
OUR_GUID_ENTRY(CLSID_QTDec, 0xfdfe9681, 0x74a3, 0x11d0, 0xaf, 0xa7, 0x00, 0xaa, 0x00, 0xb6, 0x7a, 0x42) OUR_GUID_ENTRY(CLSID_QTDec, 0xfdfe9681, 0x74a3, 0x11d0, 0xaf, 0xa7, 0x00, 0xaa, 0x00, 0xb6, 0x7a, 0x42)
OUR_GUID_ENTRY(CLSID_AVIDoc, 0xd3588ab0, 0x0781, 0x11ce, 0xb0, 0x3a, 0x00, 0x20, 0xaf, 0x0b, 0xa7, 0x70) OUR_GUID_ENTRY(CLSID_AVIDoc, 0xd3588ab0, 0x0781, 0x11ce, 0xb0, 0x3a, 0x00, 0x20, 0xaf, 0x0b, 0xa7, 0x70)
OUR_GUID_ENTRY(CLSID_AVIDocWriter, 0xd3588ab1, 0x0781, 0x11ce, 0xb0, 0x3a, 0x00, 0x20, 0xaf, 0x0b, 0xa7, 0x70) OUR_GUID_ENTRY(CLSID_AVIDocWriter, 0xd3588ab1, 0x0781, 0x11ce, 0xb0, 0x3a, 0x00, 0x20, 0xaf, 0x0b, 0xa7, 0x70)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment