Version

    Other Documentation

menu_open
Wwise SDK 2019.2.15

◆ ApplyGainAndInterleave()

virtual void AK::IAkGlobalPluginContext::ApplyGainAndInterleave ( 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. Channel data from in_pInputBuffer will also be interleaved in in_pOutputBuffer's results, 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

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