AXFXMultiChChorusCallback

Syntax

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

typedef struct AXFX_6CH_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_6CH_BUFFERUPDATE;


void AXFXMultiChChorusCallback (AXFX_6CH_BUFFERUPDATE *bufferUpdate,
                                AXFX_MULTI_CH_CHORUS *chorus, AXAUXCBSTRUCT *info);

Parameters

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

Return Values

None.

Description

The AXFXMultiChChorusCallback function is an AUX callback for the chorus effect. It applies chorus processing to all channels in the buffer designated by the AXFX_6CH_BUFFERUPDATE structure.

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

AXFX_MULTI_CH_CHORUS
AXFXMultiChChorusOverview
AXFXMultiChChorusGetMemSize
AXFXMultiChChorusInit
AXFXMultiChChorusShutdown
AXFXMultiChChorusSettings
AXFXMultiChChorusSettingsUpdate
AXFXMultiChChorusSettingsUpdateNoReset
AXRegisterAuxCallback
axfxmulticheffects demo

Revision History

2014/02/26 Add 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