版本

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

◆ CreateAuto() [2/2]

virtual AKRESULT AK::IAkStreamMgr::CreateAuto ( void *  in_pBuffer,
AkUInt64  in_uSize,
const AkAutoStmHeuristics in_heuristics,
IAkAutoStream *&  out_pStream 
)
pure virtual

Create an automatic stream (in-memory buffer overload).

This overload differs largely from CreateAuto() implementations, which are file based. This version is provided with a memory space and the resulting automatic stream will simply return the memory space in a similar fashion, but without the need to perform any actual file operations.

If you are in the process of implementing your own IAkStreamMgr object, consider using the initial implementation from \\SDK\\source\\StreamManager\\Common\\AkStreamMgr.cpp.

返回
AK_Success if the stream was created successfully
备注
The stream needs to be started explicitly with IAkAutoStream::Start().
参见
参数
in_pBufferPointer to the memory area containing stream data
in_uSizeSize of the memory area containing stream data
in_heuristicsStreaming heuristics
out_pStreamReturned interface to an automatic stream. If the function does not return AK_Success, this pointer is left untouched.

此页面对您是否有帮助?

需要技术支持?

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

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

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

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

开始 Wwise 之旅