#include <cafe.h> #include <cafe/ax.h> void AXPrepareEfxData(const void *samples, u32 size);
|samples||Pointer to sound sample data. Must be 32-byte aligned.|
|size||size in bytes of the sound data.|
This function ensures that the sound sample data pointed to by samples is flushed to memory and accessible to the audio hardware.
This synchronization is not strictly necessary for sound data that is loaded directly from a storage or IO device, as the file system (or other device driver) will ensure coherency.
However, for sound effect data that is generated algorithmically by the main application processor, this function is required to ensure the data is flushed to physical memory.
|Deprecated||Do not call this function in new code.|
2013/05/08 Automated cleanup pass.
2012/08/01 Cleanup Pass.
2012/01/26 Update to Audio API v2.0.
2011/02/21 Initial Version