Buffer runtime configuration

int aaxBufferSetData(aaxBuffer buffer, const void* data)
Store new sample data in the buffer.

Return AAX_TRUE if successful, AAX_FALSE otherwise.

Reasons for failure are an incorrect or already destroyed buffer handle or the data parameter being NULL.


void** aaxBufferGetData(const aaxBuffer buffer)

Returns a pointer to a pointer to a memory area containing a copy of the sample data of the audio buffer or NULL in case of an error.

Reasons for failure are an incorrect or already destroyed buffer handle or insufficient memory to create the sound buffer.