#include <cafe.h> #include <cafe/ax.h> u32 AXCheckVoiceOffsets(const AXPBOFFSET *maddr);
Pointer to a structure of type
0 if any of the sample buffers that are represented in maddr crosses a 512 MB boundary. Returns
1 if they do not.
The DSP memory controller can access only one 512 MB page at a time. Any voice that has a sample buffer that crosses the boundaries of these pages will be dropped to avoid errors due to this limitation, even if it is rendered on PPC.
This function will check whether a given set of offsets describes a sample buffer that crosses such a boundary.
If this function returns
0 for a given set of offsets, it is recommended that
the samples be moved to another memory location that does not cross the boundary
to avoid being dropped.
2013/05/08 Automated cleanup pass.
2012/08/01 Cleanup Pass.
2012/05/16 Initial version for SDK 2.05