Version

    Other Documentation

menu_open
Wwise SDK 2021.1.14

◆ 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