AXFXMultiChDelayCallback

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 AXFXMultiChDelayCallback  (AXFX_6CH_BUFFERUPDATE *bufferUpdate,
                                AXFX_MULTI_CH_DELAY *delay, AXAUXCBSTRUCT *info);

Parameters

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

Return Values

None.

Description

The AXFXMultiChDelayCallback function is an AUX callback for the multi-channel channel delay. It applies a delay effect to the 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_DELAY
AXFXMultiChDelayOverview
AXFXMultiChDelayGetMemSize
AXFXMultiChDelayInit
AXFXMultiChDelayShutdown
AXFXMultiChDelaySettingsUpdate
AXFXMultiChDelaySettingsUpdateNoReset
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