Version

menu_open
Wwise SDK 2022.1.12

◆ CreateAuto() [1/3]

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).

Returns
AK_Success if the stream was created successfully
Remarks
The stream needs to be started explicitly with IAkAutoStream::Start().
The ID overload of AK::StreamMgr::IAkFileLocationResolver::Open() will be called.
See also
Parameters
in_fileIDApplication-defined ID
in_pFSFlagsSpecial file system flags (can pass NULL)
in_heuristicsStreaming heuristics
in_pBufferSettingsStream buffer settings (it is recommended to pass NULL to use the default settings)
out_pStreamReturned interface to an automatic stream. If the function does not return AK_Success, this pointer is left untouched.
in_bSyncOpenIf true, force the Stream Manager to open file synchronously. Otherwise, it is left to its discretion.

Was this page helpful?

Need Support?

Questions? Problems? Need more info? Contact us, and we can help!

Visit our Support page

Tell us about your project. We're here to help.

Register your project and we'll help you get started with no strings attached!

Get started with Wwise