Version

menu_open
Warning: you were redirected to the latest documentation corresponding to your major release ( 2023.1.8.8601 ). Should you wish to access your specific version's documentation, please download the offline documentation from the Audiokinetic Launcher and check the Offline Documentation option in Wwise Authoring.
Wwise SDK 2023.1.8

◆ GetSceAudio3dPortId()

int AK::GetSceAudio3dPortId ( )

Returns the sceAudio3d port ID being used by the Wwise SoundEngine for the output. Since there can only be a single sceAudio3d port open at a time, the sceAudio3d port used by the sound engine should also be used for all other sceAudio3d operations. The sceAudio3d module will be loaded and initialized by the sound engine at initialization. sceAudio3dPortAdvance and sceAudio3dPortPush is called after each audio frame.

This should be called only once the SoundEngine has been successfully initialized, otherwise the function will return an invalid value (-1).

Returns
the current sceAudio3d port ID or -1.

Was this page helpful?

Need Support?

Questions? Problems? Need more info? Contact us, and we can help!

Visit our Support page

Tell us about your project. We're here to help.

Register your project and we'll help you get started with no strings attached!

Get started with Wwise