pub fn render_audio(allow_sync_render: bool) -> Result<(), AkResult>
Expand description

Processes all commands in the sound engine’s command queue.

This method has to be called periodically (usually once per game frame).

allow_sync_render: When AkInitSettings::bUseLEngineThread is false, RenderAudio may generate an audio buffer – unless in_bAllowSyncRender is set to false. Use in_bAllowSyncRender=false when calling RenderAudio from a Sound Engine callback.

Return Always returns AK_Success

See also