Wwise SDK
_ak_win_sound_engine_8h_source
버전
menu
대상 플랫폼:
|
Wwise SDK 2024.1.10
|
AkWinSoundEngine.h
이 파일의 문서화 페이지로 가기
65 /// \note CoInitialize must have been called for the calling thread. See Microsoft's documentation about CoInitialize for more details.
69 /// Finds an audio endpoint that matches the token in the device name or device ID and returns an ID.
70 /// This is a helper function that searches in the device ID (as returned by IMMDevice->GetId) and
71 /// in the property PKEY_Device_FriendlyName. The token parameter is case-sensitive. If you need to do matching on different conditions, use IMMDeviceEnumerator directly and AK::GetDeviceID.
72 /// \return The device ID as returned by IMMDevice->GetId, hashed by AK::SoundEngine::GetIDFromName()
75 /// Get the user-friendly name for the specified device. Call repeatedly with index starting at 0 and increasing to get all available devices, including disabled and unplugged devices, until the returned string is null and out_uDeviceID is AK_INVALID_DEVICE_ID.
76 /// The number of indexable devices for the given uDeviceStateMask can be fetched by calling AK::SoundEngine::GetWindowsDeviceCount().
77 /// You can also get the default device information by specifying index=-1. The default device is the one with a green checkmark in the Audio Playback Device panel in Windows.
78 /// The returned out_uDeviceID parameter is the Device ID to use with Wwise. Use it to specify the main device in AkPlatformInitSettings.idAudioDevice.
79 /// \return The name of the device at the "index" specified. The pointer is valid until the next call to GetWindowsDeviceName.
92 /// Get the Audio Endpoint for the specified device index. Call repeatedly with index starting at 0 and increasing to get all available devices, including disabled and unplugged devices, until the false is returned.
93 /// You can also get the default device information by specifying index=-1. The default device is the one with a green checkmark in the Audio Playback Device panel in Windows.
94 /// The returned out_uDeviceID parameter is the Device ID to use with Wwise. Use it to specify the main device in AkPlatformInitSettings.idAudioDevice.
95 /// The returned out_ppDevice is a pointer to a pointer variable to which the method writes the address of the IMMDevice. out_ppDevice is optional; if it is null, then no action is taken.
96 /// If the method returns false, *out_ppDevice is null and out_uDeviceID is AK_INVALID_DEVICE_ID. If the method successed, *out_ppDevice will be a counted reference to the interface, and the caller is responsible for releasing the interface when it is no longer needed, by calling Release(), or encapsulating the device in a COM Smart Pointer.
Definition: AkPlatformFuncs.h:45
AkUInt32 uMaxSystemAudioObjects
Dictates how many Microsoft Spatial Sound dynamic objects will be reserved by the System sink....
Definition: AkWinSoundEngine.h:57
Definition: AkAndroidSoundEngine.h:56
AKSOUNDENGINE_API AkUInt32 GetDeviceID(IMMDevice *in_pDevice)
AKSOUNDENGINE_API bool GetWindowsDevice(AkInt32 in_index, AkUInt32 &out_uDeviceID, IMMDevice **out_ppDevice, AkAudioDeviceState uDeviceStateMask=AkDeviceState_All)
AkThreadProperties threadMonitor
Monitor threading properties (its default priority is AK_THREAD_PRIORITY_ABOVENORMAL)....
Definition: AkAndroidSoundEngine.h:61
AkThreadProperties threadLEngine
Lower engine threading properties
Definition: AkAndroidSoundEngine.h:58
AkUInt16 uNumRefillsInVoice
Number of refill buffers in voice buffer. Defaults to 4.
Definition: AkAndroidSoundEngine.h:67
AkThreadProperties threadOutputMgr
Ouput thread threading properties
Definition: AkAndroidSoundEngine.h:59
AKSOUNDENGINE_API const wchar_t * GetWindowsDeviceName(AkInt32 index, AkUInt32 &out_uDeviceID, AkAudioDeviceState uDeviceStateMask=AkDeviceState_All)
AKSOUNDENGINE_API AkUInt32 GetDeviceIDFromName(wchar_t *in_szToken)
bool bEnableAvxSupport
Enables run-time detection of AVX and AVX2 SIMD support in the engine and plug-ins.
Definition: AkWinSoundEngine.h:55
AkUInt32 uSampleRate
Sampling Rate. Set to 0 to get the native sample rate. Default value is 0.
Definition: AkAndroidSoundEngine.h:66
AkThreadProperties threadBankManager
Bank manager threading properties (its default priority is AK_THREAD_PRIORITY_NORMAL)
Definition: AkAndroidSoundEngine.h:60
AKSOUNDENGINE_API AkUInt32 GetWindowsDeviceCount(AkAudioDeviceState uDeviceStateMask=AkDeviceState_All)
이 페이지가 도움이 되었나요?
작업하는 프로젝트에 대해 알려주세요. 언제든지 도와드릴 준비가 되어 있습니다.
프로젝트를 등록하세요. 아무런 조건이나 의무 사항 없이 빠른 시작을 도와드리겠습니다.
Wwise를 시작해 보세요