nn::snd::CTR::FxDelay::Param Structure

Syntax

struct Param
{
   u32 m_DelayTime;
   f32 m_FeedbackGain;
   f32 m_Damping;
   bool m_IsEnableSurround;
};

Description

A structure for delay parameters.

Increasing the value of m_DelayTime increases the time by which echoes are delayed.

Increasing the value of m_FeedbackGain prevents the delay sound from vanishing. Specifying a value of 0.0f (no feedback) indicates a one-shot delay.

The value of m_Damping affects the behavior of low-pass filters. Increasing this value decreases the cutoff frequency. If you specify a value of 0.0f, a low-pass filter is not applied.

When m_IsEnableSurround is true, the surround components (rear left and right) are also delayed. When this value is false, delays are not processed (they are skipped) for the surround components. By specifying a value of false, you can reduce the required buffer size and processing load by a corresponding amount. The default value is FALSE.

Member Variables

m_DelayTime The delay time (in milliseconds). The initial value is 5.
m_FeedbackGain Feedback gain. Specify a value between 0.0f and 1.0f. This value is initially 0.0f.
m_Damping The behavior of low-pass filters. Specify a value between 0.0f and 1.0f. This value is initially 0.0f.
m_IsEnableSurround A flag that determines whether to enable delays for surround channels as well.

Member Functions

Param Constructor.

Revision History

2010/09/13
Initial version.

CONFIDENTIAL