33 #ifndef _AK_WIN_SOUND_ENGINE_H_
34 #define _AK_WIN_SOUND_ENGINE_H_
36 #include <AK/SoundEngine/Common/AkTypes.h>
37 #include <AK/Tools/Common/AkPlatformFuncs.h>
43 typedef enum AkAudioAPIWindows
45 AkAPI_Wasapi = 1 << 0,
46 AkAPI_XAudio2 = 1 << 1,
47 AkAPI_DirectSound = 1 << 2,
48 AkAPI_Default = AkAPI_Wasapi | AkAPI_XAudio2 | AkAPI_DirectSound,
52 enum AkAudioDeviceState
54 AkDeviceState_Active = 1 << 0,
55 AkDeviceState_Disabled = 1 << 1,
56 AkDeviceState_NotPresent = 1 << 2,
57 AkDeviceState_Unplugged = 1 << 3,
58 AkDeviceState_All = AkDeviceState_Active | AkDeviceState_Disabled | AkDeviceState_NotPresent | AkDeviceState_Unplugged,
104 struct IDirectSound8;
123 AK_EXTERNAPIFUNC( AkUInt32,
GetDeviceID ) (IMMDevice* in_pDevice);
139 AkUInt32 &out_uDeviceID,
140 AkAudioDeviceState uDeviceStateMask = AkDeviceState_All
147 AkAudioDeviceState uDeviceStateMask = AkDeviceState_All
159 AkUInt32& out_uDeviceID,
160 IMMDevice** out_ppDevice,
161 AkAudioDeviceState uDeviceStateMask = AkDeviceState_All
176 #endif //_AK_WIN_SOUND_ENGINE_H_
AKSOUNDENGINE_API IDirectSound8 * GetDirectSoundInstance()
AKSOUNDENGINE_API AkUInt32 GetDeviceID(IMMDevice *in_pDevice)
AKSOUNDENGINE_API bool GetWindowsDevice(AkInt32 in_index, AkUInt32 &out_uDeviceID, IMMDevice **out_ppDevice, AkAudioDeviceState uDeviceStateMask=AkDeviceState_All)
AKSOUNDENGINE_API const wchar_t * GetWindowsDeviceName(AkInt32 index, AkUInt32 &out_uDeviceID, AkAudioDeviceState uDeviceStateMask=AkDeviceState_All)
AKSOUNDENGINE_API IUnknown * GetWwiseXAudio2Interface()
AKSOUNDENGINE_API AkUInt32 GetDeviceIDFromName(wchar_t *in_szToken)
AKSOUNDENGINE_API AkDeviceID GetDeviceIDFromGamepad(Windows::Gaming::Input::Gamepad^ rGamepad)
AKSOUNDENGINE_API AkUInt32 GetWindowsDeviceCount(AkAudioDeviceState uDeviceStateMask=AkDeviceState_All)
Besoin d'aide ?
Des questions ? Des problèmes ? Besoin de plus d'informations ? Contactez-nous, nous pouvons vous aider !
Visitez notre page d'Aide
Décrivez-nous de votre projet. Nous sommes là pour vous aider.
Enregistrez votre projet et nous vous aiderons à démarrer sans aucune obligation !
Partir du bon pied avec Wwise