Table of Contents

Wwise SDK 2019.1.6

◆ GetWindowsDeviceCount()

AkUInt32 __cdecl 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.