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

◆ GetChannel()

AkSampleType* AkAudioBuffer::GetChannel ( AkUInt32  in_uIndex)
inline

Get the buffer of the ith channel. Access to channel data is most optimal through this method. Use whenever the speaker configuration is known, or when an operation must be made independently for each channel.

Remarks
When using a standard Wwise pipeline configuration, use ChannelBitToIndex() to convert channel bits to buffer indices.
Returns
Address of the buffer of the ith channel.
See also
Parameters
in_uIndexChannel index [0,NumChannels()-1]

Definition at line 432 of file AkCommonDefs.h.

References AKASSERT, MaxFrames(), NumChannels(), and pData.

Referenced by GetLFE(), and ZeroPadToMaxFrames().


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