AXFX2ReverbCallback

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  AXFX2ReverbCallback  (AXFX_6CH_BUFFERUPDATE *bufferUpdate, AXFX2_REVERB *reverb,
                            AXAUXCBSTRUCT *info);

Parameters

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

Return Values

None.

Description

The AXFX2ReverbCallback 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 AXFX2ReverbInit.

This function and an initialized AXFX2_REVERB 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 Overview
AXFX2_REVERB
AXFX2ReverbGetMemSize
AXFX2ReverbInit
AXFX2ReverbShutdown
AXFX2ReverbParametersPreset
AXFX2ReverbSettingsUpdate
AXFX2ReverbSettingsUpdateNoReset
axfx2effects Demo
axfx2reverbs Demo
AXRegisterAuxCallback

Revision History

2013/08/25 Initial version.


CONFIDENTIAL