Commit 121a69e0 authored by Andrew Eikum's avatar Andrew Eikum Committed by Alexandre Julliard

xaudio2_9: Add xaudio2_9.

parent bf5dca19
...@@ -1408,6 +1408,7 @@ enable_xaudio2_5 ...@@ -1408,6 +1408,7 @@ enable_xaudio2_5
enable_xaudio2_6 enable_xaudio2_6
enable_xaudio2_7 enable_xaudio2_7
enable_xaudio2_8 enable_xaudio2_8
enable_xaudio2_9
enable_xinput1_1 enable_xinput1_1
enable_xinput1_2 enable_xinput1_2
enable_xinput1_3 enable_xinput1_3
...@@ -13720,6 +13721,7 @@ then ...@@ -13720,6 +13721,7 @@ then
enable_xaudio2_6=${enable_xaudio2_6:-no} enable_xaudio2_6=${enable_xaudio2_6:-no}
enable_xaudio2_7=${enable_xaudio2_7:-no} enable_xaudio2_7=${enable_xaudio2_7:-no}
enable_xaudio2_8=${enable_xaudio2_8:-no} enable_xaudio2_8=${enable_xaudio2_8:-no}
enable_xaudio2_9=${enable_xaudio2_9:-no}
fi fi
if test "$ac_cv_header_kstat_h" = "yes" if test "$ac_cv_header_kstat_h" = "yes"
...@@ -18035,6 +18037,7 @@ wine_fn_config_dll xaudio2_6 enable_xaudio2_6 clean ...@@ -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_dll xaudio2_7 enable_xaudio2_7 clean
wine_fn_config_test dlls/xaudio2_7/tests xaudio2_7_test 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_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_1 enable_xinput1_1
wine_fn_config_dll xinput1_2 enable_xinput1_2 wine_fn_config_dll xinput1_2 enable_xinput1_2
wine_fn_config_dll xinput1_3 enable_xinput1_3 implib xinput wine_fn_config_dll xinput1_3 enable_xinput1_3 implib xinput
......
...@@ -1685,6 +1685,7 @@ then ...@@ -1685,6 +1685,7 @@ then
enable_xaudio2_6=${enable_xaudio2_6:-no} enable_xaudio2_6=${enable_xaudio2_6:-no}
enable_xaudio2_7=${enable_xaudio2_7:-no} enable_xaudio2_7=${enable_xaudio2_7:-no}
enable_xaudio2_8=${enable_xaudio2_8:-no} enable_xaudio2_8=${enable_xaudio2_8:-no}
enable_xaudio2_9=${enable_xaudio2_9:-no}
fi fi
dnl **** Check for libkstat **** dnl **** Check for libkstat ****
...@@ -3401,6 +3402,7 @@ WINE_CONFIG_DLL(xaudio2_6,,[clean]) ...@@ -3401,6 +3402,7 @@ WINE_CONFIG_DLL(xaudio2_6,,[clean])
WINE_CONFIG_DLL(xaudio2_7,,[clean]) WINE_CONFIG_DLL(xaudio2_7,,[clean])
WINE_CONFIG_TEST(dlls/xaudio2_7/tests) WINE_CONFIG_TEST(dlls/xaudio2_7/tests)
WINE_CONFIG_DLL(xaudio2_8,,[clean]) WINE_CONFIG_DLL(xaudio2_8,,[clean])
WINE_CONFIG_DLL(xaudio2_9,,[clean])
WINE_CONFIG_DLL(xinput1_1) WINE_CONFIG_DLL(xinput1_1)
WINE_CONFIG_DLL(xinput1_2) WINE_CONFIG_DLL(xinput1_2)
WINE_CONFIG_DLL(xinput1_3,,[implib],[xinput]) WINE_CONFIG_DLL(xinput1_3,,[implib],[xinput])
......
...@@ -78,6 +78,14 @@ ...@@ -78,6 +78,14 @@
* Change parameter of IXAudio2::CreateMasteringVoice * Change parameter of IXAudio2::CreateMasteringVoice
* Add Flags parameter to IXAudio2SourceVoice::GetState * Add Flags parameter to IXAudio2SourceVoice::GetState
* Add IXAudio2MasteringVoice::GetChannelMask * 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" #include "config.h"
......
...@@ -1192,6 +1192,7 @@ static HRESULT WINAPI IXAudio2Impl_QueryInterface(IXAudio2 *iface, REFIID riid, ...@@ -1192,6 +1192,7 @@ static HRESULT WINAPI IXAudio2Impl_QueryInterface(IXAudio2 *iface, REFIID riid,
TRACE("(%p)->(%s, %p)\n", This, debugstr_guid(riid), ppvObject); TRACE("(%p)->(%s, %p)\n", This, debugstr_guid(riid), ppvObject);
if(IsEqualGUID(riid, &IID_IUnknown) || if(IsEqualGUID(riid, &IID_IUnknown) ||
IsEqualGUID(riid, &IID_IXAudio28) ||
IsEqualGUID(riid, &IID_IXAudio2)) IsEqualGUID(riid, &IID_IXAudio2))
*ppvObject = &This->IXAudio2_iface; *ppvObject = &This->IXAudio2_iface;
else if(IsEqualGUID(riid, &IID_IXAudio27)){ else if(IsEqualGUID(riid, &IID_IXAudio27)){
......
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
@ 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 ...@@ -1001,11 +1001,14 @@ interface IXAudio27 : IUnknown
[in, defaultvalue(NULL)] void* pReserved); [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, 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 interface IXAudio2 : IUnknown
{ {
HRESULT RegisterForCallbacks([in] IXAudio2EngineCallback* pCallback); HRESULT RegisterForCallbacks([in] IXAudio2EngineCallback* pCallback);
......
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