nn::snd::CTR::SetEffect Function

Syntax

bool SetEffect(
     AuxBusId busId,
     FxDelay * fx
);
bool SetEffect(
     AuxBusId busId,
     FxReverb * fx
);

List of Overloaded Member Functions

SetEffect ( AuxBusId, FxDelay * ) Configures the effect.
SetEffect ( AuxBusId, FxReverb * ) Configures the effect.

SetEffect ( AuxBusId, FxDelay * ) Description

Configures the delay effect.

To process data that is to be output by AUX, you can use this function to apply delay and reverb effects in addition to configuring advance processing with the RegisterAuxCallback function.

Note that you can only configure one delay (FxDelay) and one reverb (FxReverb) for each bus.

When you configure more than one, only the settings for the last one will be valid. The older configured effects will be cleared.

When you call ClearEffect to clear older configurations as noted above, you can use the FxDelay::ReleaseWorkBuffer and FxReverb::ReleaseWorkBuffer function to deallocate the memory used for the relevant effects.

Before calling this function, you need to call the FxDelay::SetParam, FxDelay::GetRequiredMemSize, and FxDelay::AssignWorkBuffer functions from the FxDelay class to finish preparing for the delay effect.

SetEffect ( AuxBusId, FxReverb * ) Description

Configures the reverb effect.

To process data that is to be output by AUX, you can use this function to apply delay and reverb effects in addition to configuring advance processing with the RegisterAuxCallback function.

Note that you can only configure one delay (FxDelay) and one reverb (FxReverb) for each bus.

When you configure more than one, only the settings for the last one will be valid. The older configured effects will be cleared.

When you call ClearEffect to clear older configurations as noted above, you can use the FxDelay::ReleaseWorkBuffer and FxReverb::ReleaseWorkBuffer function to deallocate the memory used for the relevant effects.

Before calling this function, you need to call the FxReverb::SetParam, FxReverb::GetRequiredMemSize, and FxReverb::AssignWorkBuffer functions from the FxReverb class to finish preparing for the reverb effect.


CONFIDENTIAL