123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124 |
- #ifndef _AK_WIN_SOUND_ENGINE_H_
- #define _AK_WIN_SOUND_ENGINE_H_
- #include <AK/SoundEngine/Common/AkTypes.h>
- #include <AK/Tools/Common/AkPlatformFuncs.h>
- struct IXAudio2;
- struct AkPlatformInitSettings
- {
-
- HWND hWnd;
-
-
-
-
-
-
- AkThreadProperties threadLEngine;
- AkThreadProperties threadOutputMgr;
- AkThreadProperties threadBankManager;
- AkThreadProperties threadMonitor;
-
- AkUInt16 uNumRefillsInVoice;
- AkUInt32 uSampleRate;
- bool bEnableAvxSupport;
- AkUInt32 uMaxSystemAudioObjects;
- };
- struct IDirectSound8;
- struct IXAudio2;
- struct IMMDevice;
- struct IUnknown;
- namespace AK
- {
-
-
-
- AK_EXTERNAPIFUNC( AkUInt32, GetDeviceID ) (IMMDevice* in_pDevice);
-
-
-
-
-
- AK_EXTERNAPIFUNC( AkUInt32, GetDeviceIDFromName )(wchar_t* in_szToken);
-
-
-
-
-
-
- AK_EXTERNAPIFUNC(const wchar_t*, GetWindowsDeviceName) (
- AkInt32 index,
- AkUInt32 &out_uDeviceID,
- AkAudioDeviceState uDeviceStateMask = AkDeviceState_All
- );
-
-
-
- AK_EXTERNAPIFUNC( AkUInt32, GetWindowsDeviceCount ) (
- AkAudioDeviceState uDeviceStateMask = AkDeviceState_All
- );
-
-
-
-
-
-
-
- AK_EXTERNAPIFUNC( bool, GetWindowsDevice) (
- AkInt32 in_index,
- AkUInt32& out_uDeviceID,
- IMMDevice** out_ppDevice,
- AkAudioDeviceState uDeviceStateMask = AkDeviceState_All
- );
- };
- #endif
|