Table of Contents

Wwise SDK 2019.1.6

◆ UnsetMedia()

AKRESULT __cdecl AK::SoundEngine::UnsetMedia ( AkSourceSettings in_pSourceSettings,
AkUInt32  in_uNumSourceSettings 
)

Removes the specified source from the list of loaded media. The sources are identified by their ID (refer to General Information for a discussion on using strings and IDs).

Returns
AK_Success if operation was successful, AK_InvalidParameter if in_pSourceSettings is invalid, and AK_Fail otherwise.
Parameters
in_pSourceSettings Array of Source Settings
in_uNumSourceSettings Number of Source Settings in the array