Commit e9459b04 authored by Andrew Eikum's avatar Andrew Eikum Committed by Alexandre Julliard

xaudio2: Register legacy AudioReverb CLSIDs.

parent b2b5a085
...@@ -26,3 +26,10 @@ ...@@ -26,3 +26,10 @@
uuid(e21a7345-eb21-468e-be50-804db97cf708) uuid(e21a7345-eb21-468e-be50-804db97cf708)
] ]
coclass XAudio21 { interface IXAudio22; } coclass XAudio21 { interface IXAudio22; }
[
helpstring("XAudio2.1 AudioReverb Class"),
threading(both),
uuid(f4769300-b949-4df9-b333-00d33932e9a6)
]
coclass AudioReverb21 { interface IXAPO; }
...@@ -26,3 +26,10 @@ ...@@ -26,3 +26,10 @@
uuid(b802058a-464a-42db-bc10-b650d6f2586a) uuid(b802058a-464a-42db-bc10-b650d6f2586a)
] ]
coclass XAudio22 { interface IXAudio22; } coclass XAudio22 { interface IXAudio22; }
[
helpstring("XAudio2.2 AudioReverb Class"),
threading(both),
uuid(629cf0de-3ecc-41e7-9926-f7e43eebec51)
]
coclass AudioReverb22 { interface IXAPO; }
...@@ -26,3 +26,10 @@ ...@@ -26,3 +26,10 @@
uuid(4c5e637a-16c7-4de3-9c46-5ed22181962d) uuid(4c5e637a-16c7-4de3-9c46-5ed22181962d)
] ]
coclass XAudio23 { interface IXAudio27; } coclass XAudio23 { interface IXAudio27; }
[
helpstring("XAudio2.3 AudioReverb Class"),
threading(both),
uuid(9cab402c-1d37-44b4-886d-fa4f36170a4c)
]
coclass AudioReverb23 { interface IXAPO; }
...@@ -26,3 +26,10 @@ ...@@ -26,3 +26,10 @@
uuid(03219e78-5bc3-44d1-b92e-f63d89cc6526) uuid(03219e78-5bc3-44d1-b92e-f63d89cc6526)
] ]
coclass XAudio24 { interface IXAudio27; } coclass XAudio24 { interface IXAudio27; }
[
helpstring("XAudio2.4 AudioReverb Class"),
threading(both),
uuid(8bb7778b-645b-4475-9a73-1de3170bd3af)
]
coclass AudioReverb24 { interface IXAPO; }
...@@ -26,3 +26,10 @@ ...@@ -26,3 +26,10 @@
uuid(4c9b6dde-6809-46e6-a278-9b6a97588670) uuid(4c9b6dde-6809-46e6-a278-9b6a97588670)
] ]
coclass XAudio25 { interface IXAudio27; } coclass XAudio25 { interface IXAudio27; }
[
helpstring("XAudio2.5 AudioReverb Class"),
threading(both),
uuid(d06df0d0-8518-441e-822f-5451d5c595b8)
]
coclass AudioReverb25 { interface IXAPO; }
...@@ -26,3 +26,10 @@ ...@@ -26,3 +26,10 @@
uuid(3eda9b49-2085-498b-9bb2-39a6778493de) uuid(3eda9b49-2085-498b-9bb2-39a6778493de)
] ]
coclass XAudio26 { interface IXAudio27; } coclass XAudio26 { interface IXAudio27; }
[
helpstring("XAudio2.6 AudioReverb Class"),
threading(both),
uuid(cecec95a-d894-491a-bee3-5e106fb59f2d)
]
coclass AudioReverb26 { interface IXAPO; }
...@@ -2481,7 +2481,13 @@ HRESULT WINAPI DllGetClassObject(REFCLSID rclsid, REFIID riid, void **ppv) ...@@ -2481,7 +2481,13 @@ HRESULT WINAPI DllGetClassObject(REFCLSID rclsid, REFIID riid, void **ppv)
factory = make_xaudio2_factory(27); factory = make_xaudio2_factory(27);
}else if(IsEqualGUID(rclsid, &CLSID_AudioVolumeMeter)) { }else if(IsEqualGUID(rclsid, &CLSID_AudioVolumeMeter)) {
factory = &vumeter_cf; factory = &vumeter_cf;
}else if(IsEqualGUID(rclsid, &CLSID_AudioReverb)) { }else if(IsEqualGUID(rclsid, &CLSID_AudioReverb) ||
IsEqualGUID(rclsid, &CLSID_AudioReverb21) ||
IsEqualGUID(rclsid, &CLSID_AudioReverb22) ||
IsEqualGUID(rclsid, &CLSID_AudioReverb23) ||
IsEqualGUID(rclsid, &CLSID_AudioReverb24) ||
IsEqualGUID(rclsid, &CLSID_AudioReverb25) ||
IsEqualGUID(rclsid, &CLSID_AudioReverb26)){
factory = &reverb_cf; factory = &reverb_cf;
} }
if(!factory) return CLASS_E_CLASSNOTAVAILABLE; if(!factory) return CLASS_E_CLASSNOTAVAILABLE;
......
...@@ -31,3 +31,45 @@ coclass AudioVolumeMeter { ...@@ -31,3 +31,45 @@ coclass AudioVolumeMeter {
coclass AudioReverb { coclass AudioReverb {
interface IUnknown; interface IUnknown;
} }
[
uuid(f4769300-b949-4df9-b333-00d33932e9a6)
]
coclass AudioReverb21 {
interface IUnknown;
}
[
uuid(629cf0de-3ecc-41e7-9926-f7e43eebec51)
]
coclass AudioReverb22 {
interface IUnknown;
}
[
uuid(9cab402c-1d37-44b4-886d-fa4f36170a4c)
]
coclass AudioReverb23 {
interface IUnknown;
}
[
uuid(8bb7778b-645b-4475-9a73-1de3170bd3af)
]
coclass AudioReverb24 {
interface IUnknown;
}
[
uuid(d06df0d0-8518-441e-822f-5451d5c595b8)
]
coclass AudioReverb25 {
interface IUnknown;
}
[
uuid(cecec95a-d894-491a-bee3-5e106fb59f2d)
]
coclass AudioReverb26 {
interface IUnknown;
}
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