AXFX2ReverbI3dl2Callback

Syntax

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

typedef struct _AXFX_6CH_BUFFERUPDATE
{
    s32 *L;
    s32 *R;
    s32 *Ls;
    s32 *Rs;
    s32 *Ct;
    s32 *Sw;
} AXFX_6CH_BUFFERUPDATE;

void AXFX2ReverbI3dl2Callback  (AXFX_6CH_BUFFERUPDATE *bufferUpdate,
                                AXFX2_REVERB_I3DL2 *reverb_i3dl2, AXAUXCBSTRUCT *info);

Parameters

bufferUpdate Pointer to the buffers structure to be updated.
reverb_i3dl2 Pointer to an initialized AXFX2_REVERB_I3DL2 structure.
info Pointer to a struct AXAUXCBSTRUCT specifying the number of channels and samples in bufferUpdate.

Return Values

None.

Description

The AXFX2ReverbI3dl2Callback function is an AUX callback for the reverb effect. It applies a reverb effect to the audio channels in AXFX_6CH_BUFFERUPDATE. The number of channels affected and the audio sample rate is specified via the parameters originally passed to AXFX2ReverbI3dl2Init.

This function and an initialized AXFX2_REVERB_I3DL2 structure must be registered to an AUX bus through the AXRegisterAuxCallback function.

Two demos, axfx2effects and axfx2reverbs, demonstrate the usage of this effect.

Availability

Library Version Availability
Sound 2.0 Yes
Sound 1.0 No

Do Not Call From

None.

See Also

AXFX2 Reverb I3DL2 Overview
AXFX2_REVERB_I3DL2
AXFX2ReverbI3dl2GetMemSize
AXFX2ReverbI3dl2Init
AXFX2ReverbI3dl2Shutdown
AXFX2ReverbI3dl2ParametersPreset
AXFX2ReverbI3dl2ParametersMigrateFromReverb
AXFX2ReverbI3dl2SettingsUpdate
AXFX2ReverbI3dl2SettingsUpdateNoReset
axfx2effects Demo
axfx2reverbs Demo
AXRegisterAuxCallback

Revision History

2013/08/26 Initial version.


CONFIDENTIAL