Version

menu_open
Warning : Some protected information on this page is not displayed.
Ensure you are logged in if you are a licensed user for specific platforms.

Bank or Media pointer not aligned to ... bytes.

This error occurs when using either AK::SoundEngine::LoadBank (memory pointer version) or AK::SoundEngine::SetMedia and the data pointer passed is not aligned to the expected granularity. This varies by platform and by codec. Default requirement is 16 bytes.

Probable causes:

  • The media pointer is not aligned to the default alignment of 16 bytes.

Recommended resolution steps:

  • Allocate memory with the proper alignment prior to loading the data.


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