Version

menu_open
Wwise SDK 2019.2.15

◆ ApplyGain()

virtual void AK::IAkGlobalPluginContext::ApplyGain ( AkAudioBuffer in_pInputBuffer,
AkAudioBuffer in_pOutputBuffer,
AkRamp  in_gain,
bool  in_convertToInt16 
) const
pure virtual

Given non-interleaved audio in the provided in_pInputBuffer, will apply a ramping gain over the number of frames specified, and store the result in in_pOutputBuffer. Audio data in in_pOutputBuffer will have the same layout as in_pInputBuffer, and optionally converted from 32-bit floats to 16-bit integers.

Parameters
in_pInputBuffer Input audioBuffer data
in_pOutputBuffer Output audioBuffer data
in_gain Ramping gain to apply over duration of buffer
in_convertToInt16 Whether the input data should be converted to int16

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