版本

menu_open
警告:系统已根据您所用大版本 (2023.1.7.8574) 自动跳转至最新文档。若想访问特定版本的文档,请从 Audiokinetic Launcher 下载离线文档,并在 Wwise 设计程序中勾选 Offline Documentation 选项。
Wwise SDK 2023.1.7

◆ 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_pInputBufferInput audio buffer data structure. Plugins should avoid processing data in-place.
in_gainVolume gain to apply to this input (prev corresponds to the beginning, next corresponds to the end of the buffer).

此页面对您是否有帮助?

需要技术支持?

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

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

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

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

开始 Wwise 之旅