Wwise Version
arrow_right Table of Contents
Wwise SDK 2021.1.5

◆ GetWindowsDeviceCount()

AKSOUNDENGINE_API AkUInt32 AK::GetWindowsDeviceCount ( AkAudioDeviceState  uDeviceStateMask = AkDeviceState_All )

Get the number of Audio Endpoints available for the specified device state mask.

Note
CoInitialize must have been called for the calling thread. See Microsoft's documentation about CoInitialize for more details.
Returns
The number of Audio Endpoints available for the specified device state mask.
Parameters
uDeviceStateMask Optional bitmask used to filter the device based on their state.