AXFXMultiChReverbCallback

Syntax

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

typedef struct AXFX_MULTI_CH_BUFFERUPDATE
{
    /* Left, Right, LeftSurround, RightSurround, Center, and Subwoofer
       Each an array of AXFX_AUX_BLOCKSIZE=96 samples */
    s32 *L;
    s32 *R;
    s32 *Ls;
    s32 *Rs;
    s32 *Ct;
    s32 *Sw;
} AXFX_MULTI_CH_BUFFERUPDATE;

void AXFXMultiChReverbCallback  (AXFX_MULTI_CH_BUFFERUPDATE *bufferUpdate,
                                 AXFX_MULTI_CH_REVERB *reverb, AXAUXCBSTRUCT *info);

Parameters

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

Return Values

None.

Description

The AXFXMultiChReverbCallback function is an AUX callback for the reverb effect. It applies a reverb effect to the channels in AXFX_MULTI_CH_BUFFERUPDATE. The number of channels affected is specified via the mode parameter passed to AXFXMultiChReverbInit.

This function must be registered to an AUX bus through the AXRegisterAuxCallback function.

Availability

Library Version Availability
Sound 2.0 Yes
Sound 1.0 Yes

Do Not Call From

None.

See Also

AXFXMultiChReverbOverview
AXFX_MULTI_CH_REVERB
AXFXMultiChReverbGetMemSize
AXFXMultiChReverbParametersPreset
AXFXMultiChReverbInit
AXFXMultiChReverbShutdown
AXFXMultiChReverbSettingsUpdate
AXFXMultiChReverbSettingsUpdateNoReset
axfxmulticheffects demo
axfxmultichreverbs demo
AXRegisterAuxCallback

Revision History

2014/02/26 Change related link.
2013/05/08 Automated cleanup pass.
2013/03/04 New no-reset API.
2012/05/25 Simplified API.
2012/05/10 Added 2/4/6 channel effects.
2012/04/10 Initial version.


CONFIDENTIAL