目录

Wwise SDK 2018.1.11

◆ CreateAuto() [2/2]

virtual AKRESULT AK::IAkStreamMgr::CreateAuto ( AkFileID  in_fileID,
AkFileSystemFlags in_pFSFlags,
const AkAutoStmHeuristics in_heuristics,
AkAutoStmBufSettings in_pBufferSettings,
IAkAutoStream *&  out_pStream,
bool  in_bSyncOpen 
)
pure virtual

Create an automatic stream (ID overload).

返回
AK_Success if the stream was created successfully
备注
The stream needs to be started explicitly with IAkAutoStream::Start().
The ID overload of AK::StreamMgr::IAkFileLocationResolver::Open() will be called.
参见
参数
in_fileID Application-defined ID
in_pFSFlags Special file system flags (can pass NULL)
in_heuristics Streaming heuristics
in_pBufferSettings Stream buffer settings (it is recommended to pass NULL to use the default settings)
out_pStream Returned interface to an automatic stream. If the function does not return AK_Success, this pointer is left untouched.
in_bSyncOpen If true, force the Stream Manager to open file synchronously. Otherwise, it is left to its discretion.