menu
 
Version
2024.1.2.8726

2024.1.2.8726

2023.1.10.8659

2022.1.18.8567

2021.1.14.8108

2019.2.15.7667

2019.1.11.7296

2018.1.11.6987

2017.2.10.6745

2017.1.9.6501

2016.2.6.6153

2015.1.9.5624


menu_open
Wwise SDK 2024.1.2

◆ GetAudioOut2SpeakerAngles()

void AK::GetAudioOut2SpeakerAngles ( AkReal32  out_pfSpeakerAngles[3],
AkReal32 out_rfHeightAngle,
const SceAudioOut2SpeakerInfo &  in_rInfo 
)

Using data provided by SceAudioOut2SpeakerInfo, as obtained by sceAudioOut2GetSpeakerInfo, populates out_pfSpeakerAngles and out_rfHeightAngle with appropriate data to use for AK::SoundEngine::SetSpeakerAngles.

If you are using this to set speaker angles manually, ensure that new angles are recognized and set, even if the user's speaker configuration changes, by periodically checking for differences in SceAudioOut2SpeakerInfo's state.

Note that when AkPlatformInitSettings::bUseAudioOut2SpeakerAngles is enabled, the system calls AK::SoundEngine::SetSpeakerAngles for system output devices automatically at initialization, and when any change in the user's speaker configuration is detected.


Cette page a-t-elle été utile ?

Besoin d'aide ?

Des questions ? Des problèmes ? Besoin de plus d'informations ? Contactez-nous, nous pouvons vous aider !

Visitez notre page d'Aide

Décrivez-nous de votre projet. Nous sommes là pour vous aider.

Enregistrez votre projet et nous vous aiderons à démarrer sans aucune obligation !

Partir du bon pied avec Wwise