Audiokinetic's Community Q&A is the forum where users can ask and answer questions within the Wwise and Strata communities. If you would like to get an answer from Audiokinetic's Technical support team, make sure you use the Support Tickets page.

How to register a listener as default listener via c++ in unreal engine 4.24

0 votes
Hi folks,

I'm trying to change my audio listener from camera to my character but everytime i try to register the game obj as listener die unreal editor crashes.

this is the code which i put in the constructor of my character class:

AK::SoundEngine::RegisterGameObj(MY_DEFAULT_LISTENER, "My Default Listener");
AK::SoundEngine::SetDefaultListeners(&MY_DEFAULT_LISTENER, 1);


I searched die documentation but couldnt find anything :( and I cant understand why this is so complicated in c++ since integration via blueprint is such an easy task help would be very much appreaciated!!

kind regards,

asked Sep 21, 2020 in General Discussion by Gerald K. (100 points)

Please sign-in or register to answer this question.