バージョン

menu_open
Wwise SDK 2023.1.4

◆ ApplyGain()

virtual void AK::IAkPluginServiceMixer::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.

引数
in_pInputBufferInput audioBuffer data
in_pOutputBufferOutput audioBuffer data
in_gainRamping gain to apply over duration of buffer
in_convertToInt16Whether the input data should be converted to int16

このページはお役に立ちましたか?

サポートは必要ですか?

ご質問や問題、ご不明点はございますか?お気軽にお問い合わせください。

サポートページをご確認ください

あなたのプロジェクトについて教えてください。ご不明な点はありませんか。

プロジェクトを登録していただくことで、ご利用開始のサポートをいたします。

Wwiseからはじめよう