struct SoundInfo
{
FileId fileId;
ItemId playerId;
int actorPlayerId;
int playerPriority;
int volume;
PanMode panMode;
PanCurve panCurve;
bool isFrontBypass;
};
Structure storing a sound's settings information.
If isFrontBypass is true and the output mode set using SoundSystem::SetOutputMode is OUTPUT_MODE_SURROUND, the corresponding sound bypasses the front channel.
| fileId | A file ID in a sound archive. | |
|---|---|---|
| playerId | Represents the player ID used when playing sounds. | |
| actorPlayerId | Actor player number used when playing sounds with an actor. | |
| playerPriority | Represents the player priority value when playing sounds. | |
| volume | Volume when playing a sound. | |
| panMode | Pan mode type. | |
| panCurve | Pan curve type. | |
| isFrontBypass | Flag indicating whether to bypass the front channel. |
ReadSoundInfo
FileId
ItemId
PanMode
PanCurve
nn::snd::Voice::SetFrontBypassFlag
CONFIDENTIAL