版本

menu_open
Wwise SDK 2021.1.14

◆ Consume()

virtual void AK::IAkSinkPlugin::Consume ( AkAudioBuffer in_pInputBuffer,
AkRamp  in_gain 
)
pure virtual

Present an audio buffer to the sink. The audio buffer is in the native format of the sound engine (typically float, deinterleaved), as specified by io_rFormat passed to Init(). It is up to the plugin to transform it into a format that is compatible with its output. Note that Consume() is not called if the output for this frame consists of silence. Plugins should detect this in OnFrameEnd().

参见
参数
in_pInputBuffer Input audio buffer data structure. Plugins should avoid processing data in-place.
in_gain Volume gain to apply to this input (prev corresponds to the beginning, next corresponds to the end of the buffer).

此页面对您是否有帮助?

需要技术支持?

仍有疑问?或者问题?需要更多信息?欢迎联系我们,我们可以提供帮助!

查看我们的“技术支持”页面

介绍一下自己的项目。我们会竭力为您提供帮助。

来注册自己的项目,我们帮您快速入门,不带任何附加条件!

开始 Wwise 之旅