AXPrepareEfxData DEPRECATED

Syntax

#include <cafe.h>
#include <cafe/ax.h>

void AXPrepareEfxData(const void *samples, u32 size);

Parameters

samples Pointer to sound sample data. Must be 32-byte aligned.
size size in bytes of the sound data.

Return Values

None.

Description

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.

NOTE:
This function is deprecated. See DCFlushRange instead.

Do Not Call From

Deprecated Do not call this function in new code.

Revision History

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


CONFIDENTIAL