xaudio2_9: Add xaudio2_9.
Signed-off-by: Andrew Eikum <aeikum@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
bf5dca1976
commit
121a69e028
|
@ -1408,6 +1408,7 @@ enable_xaudio2_5
|
|||
enable_xaudio2_6
|
||||
enable_xaudio2_7
|
||||
enable_xaudio2_8
|
||||
enable_xaudio2_9
|
||||
enable_xinput1_1
|
||||
enable_xinput1_2
|
||||
enable_xinput1_3
|
||||
|
@ -13720,6 +13721,7 @@ then
|
|||
enable_xaudio2_6=${enable_xaudio2_6:-no}
|
||||
enable_xaudio2_7=${enable_xaudio2_7:-no}
|
||||
enable_xaudio2_8=${enable_xaudio2_8:-no}
|
||||
enable_xaudio2_9=${enable_xaudio2_9:-no}
|
||||
fi
|
||||
|
||||
if test "$ac_cv_header_kstat_h" = "yes"
|
||||
|
@ -18035,6 +18037,7 @@ wine_fn_config_dll xaudio2_6 enable_xaudio2_6 clean
|
|||
wine_fn_config_dll xaudio2_7 enable_xaudio2_7 clean
|
||||
wine_fn_config_test dlls/xaudio2_7/tests xaudio2_7_test
|
||||
wine_fn_config_dll xaudio2_8 enable_xaudio2_8 clean
|
||||
wine_fn_config_dll xaudio2_9 enable_xaudio2_9 clean
|
||||
wine_fn_config_dll xinput1_1 enable_xinput1_1
|
||||
wine_fn_config_dll xinput1_2 enable_xinput1_2
|
||||
wine_fn_config_dll xinput1_3 enable_xinput1_3 implib xinput
|
||||
|
|
|
@ -1685,6 +1685,7 @@ then
|
|||
enable_xaudio2_6=${enable_xaudio2_6:-no}
|
||||
enable_xaudio2_7=${enable_xaudio2_7:-no}
|
||||
enable_xaudio2_8=${enable_xaudio2_8:-no}
|
||||
enable_xaudio2_9=${enable_xaudio2_9:-no}
|
||||
fi
|
||||
|
||||
dnl **** Check for libkstat ****
|
||||
|
@ -3401,6 +3402,7 @@ WINE_CONFIG_DLL(xaudio2_6,,[clean])
|
|||
WINE_CONFIG_DLL(xaudio2_7,,[clean])
|
||||
WINE_CONFIG_TEST(dlls/xaudio2_7/tests)
|
||||
WINE_CONFIG_DLL(xaudio2_8,,[clean])
|
||||
WINE_CONFIG_DLL(xaudio2_9,,[clean])
|
||||
WINE_CONFIG_DLL(xinput1_1)
|
||||
WINE_CONFIG_DLL(xinput1_2)
|
||||
WINE_CONFIG_DLL(xinput1_3,,[implib],[xinput])
|
||||
|
|
|
@ -78,6 +78,14 @@
|
|||
* Change parameter of IXAudio2::CreateMasteringVoice
|
||||
* Add Flags parameter to IXAudio2SourceVoice::GetState
|
||||
* Add IXAudio2MasteringVoice::GetChannelMask
|
||||
* Add DisableLateField member to XAUDIO2FX_REVERB_PARAMETERS
|
||||
*
|
||||
* 2.9
|
||||
* Change IID_IXAudio2
|
||||
* New flags: XAUDIO2_STOP_ENGINE_WHEN_IDLE, XAUDIO2_1024_QUANTUM,
|
||||
* XAUDIO2_NO_VIRTUAL_AUDIO_CLIENT
|
||||
* ABI break:
|
||||
* Add SideDelay member to XAUDIO2FX_REVERB_PARAMETERS
|
||||
*/
|
||||
|
||||
#include "config.h"
|
||||
|
|
|
@ -1192,6 +1192,7 @@ static HRESULT WINAPI IXAudio2Impl_QueryInterface(IXAudio2 *iface, REFIID riid,
|
|||
TRACE("(%p)->(%s, %p)\n", This, debugstr_guid(riid), ppvObject);
|
||||
|
||||
if(IsEqualGUID(riid, &IID_IUnknown) ||
|
||||
IsEqualGUID(riid, &IID_IXAudio28) ||
|
||||
IsEqualGUID(riid, &IID_IXAudio2))
|
||||
*ppvObject = &This->IXAudio2_iface;
|
||||
else if(IsEqualGUID(riid, &IID_IXAudio27)){
|
||||
|
|
|
@ -0,0 +1,13 @@
|
|||
EXTRADEFS = -DXAUDIO2_VER=9
|
||||
MODULE = xaudio2_9.dll
|
||||
IMPORTS = advapi32 ole32 user32 uuid
|
||||
EXTRALIBS = $(OPENAL_LIBS)
|
||||
PARENTSRC = ../xaudio2_7
|
||||
|
||||
C_SRCS = \
|
||||
compat.c \
|
||||
x3daudio.c \
|
||||
xapofx.c \
|
||||
xaudio_dll.c
|
||||
|
||||
IDL_SRCS = xaudio_classes.idl
|
|
@ -0,0 +1,6 @@
|
|||
@ stdcall XAudio2Create(ptr long long)
|
||||
@ stdcall CreateAudioVolumeMeter(ptr)
|
||||
@ stdcall CreateAudioReverb(ptr)
|
||||
@ cdecl CreateFX(ptr ptr ptr long)
|
||||
@ cdecl X3DAudioCalculate(ptr ptr ptr long ptr)
|
||||
@ cdecl X3DAudioInitialize(long float ptr)
|
|
@ -1001,11 +1001,14 @@ interface IXAudio27 : IUnknown
|
|||
[in, defaultvalue(NULL)] void* pReserved);
|
||||
}
|
||||
|
||||
/* XAudio2 2.8's IXAudio2 is identical to 2.9's */
|
||||
cpp_quote("DEFINE_GUID(IID_IXAudio28, 0x60d8dac8, 0x5aa1, 0x4e8e, 0xb5, 0x97, 0x2f, 0x5e, 0x28, 0x83, 0xd4, 0x84);")
|
||||
|
||||
[
|
||||
object,
|
||||
uuid(60d8dac8-5aa1-4e8e-b597-2f5e2883d484),
|
||||
uuid(2b02e3cf-2e0b-4ec3-be45-1b2a3fe7210d)
|
||||
]
|
||||
/* XAudio2 2.8's IXAudio2 interface. */
|
||||
/* XAudio2 2.9's IXAudio2 interface. */
|
||||
interface IXAudio2 : IUnknown
|
||||
{
|
||||
HRESULT RegisterForCallbacks([in] IXAudio2EngineCallback* pCallback);
|
||||
|
|
Loading…
Reference in New Issue