nw::snd::Sound3DCalculator::CalcPanParam Structure

Header file: nw/snd/snd_Sound3DCalculator.h

Syntax

struct CalcPanParam
{
   f32 stereoSpeakerAngle;
   f32 surroundSpeakerFrontAngle;
   f32 surroundSpeakerRearAngle;
   f32 surroundPanOffset;
};

Description

Parameter structure for pan calculation.

This is the parameter structure that is referenced when the pan is calculated by CalcPan.

The stereoSpeakerAngle argument sets the speaker position to use when the pan is s calculated. The speakers are placed symmetrically on the left and right, and the angle from the front of both speakers is specified in radians. The speaker is positioned at 45° in stereo mode.

Member Variables

stereoSpeakerAngle In stereo mode, the angle (in radians) from the center of the speaker position.
surroundSpeakerFrontAngle
surroundSpeakerRearAngle
surroundPanOffset

Member Functions

CalcPanParam Constructor.

See Also

CalcPan

Revision History

2010/05/11
Changed the name speakerAngleStereo to stereoSpeakerAngle.
2010/03/12
Initial version.

CONFIDENTIAL