MCPcopy Create free account
hub / github.com/ValveSoftware/steam-audio / WwiseLog

Function WwiseLog

wwise/src/SoundEnginePlugin/SteamAudioCommon.cpp:310–320  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

308
309
310static void IPLCALL WwiseLog(IPLLogLevel level, const char* message)
311{
312 auto& globalState = GlobalState::Get();
313
314 AK::IAkGlobalPluginContext* globalPluginContext = globalState.globalPluginContext;
315 if (!globalPluginContext)
316 return;
317
318 AK::Monitor::ErrorLevel errorLevel = (level == IPL_LOGLEVEL_ERROR) ? AK::Monitor::ErrorLevel_Error : AK::Monitor::ErrorLevel_Message;
319 globalPluginContext->PostMonitorMessage(message, errorLevel);
320}
321
322
323static void* IPLCALL WwiseAllocate(IPLsize size, IPLsize alignment)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected