Audiokinetic Wwise Knowledge Base

Stream Manager Device Memory

Audiokinetic's default stream manager creates a memory pool to perform I/O for each device (created using AK::CreateDevice()). These pools appear in the Wwise profiler under the name "Stream I/O". Their size is specified with AkDeviceSettings::uIOMemorySize. These pools are split up and managed in buffers of size AkDeviceSettings::uGranularity. Therefore, all buffers granted to clients of the AK::IAkStreamMgr interface, as well as I/O requests to the Low-Level I/O, have this same size.

Do not confuse the Stream I/O pools with the one and only Stream Manager pool. The latter is used for the Stream Manager's small objects that need to be allocated at run-time: device objects, stream objects, I/O request structures. It is typically very small. You should make sure that it is just large enough so that I/O does not fail because it is full: Stream I/O memory should be the bottleneck, not Stream Manager memory.



Article Details

Last Updated
17th o February, 2010

Would you like to...

Print this page Print this page

Email this page Email this page

Post a comment Post a comment

Subscribe me

Add to favorites Add to favorites

Remove Highlighting Remove Highlighting

Edit this Article

Quick Edit

Export to PDF

User Opinions (0 votes)

No users have voted.

How would you rate this answer?



Thank you for rating this answer.

Related Articles

No related articles were found.

Attachments

No attachments were found.

Continue