DCDecomp
A decompilation of Dark Cloud for the PlayStation 2
Loading...
Searching...
No Matches
MIDI_FADE Struct Reference

#include <sound.hpp>

Public Attributes

s32 active
 
s32 target_volume
 
float volume
 
float step
 

Detailed Description

One volume fade the sequencer advances once a frame.

Definition at line 45 of file sound.hpp.

Member Data Documentation

◆ active

s32 MIDI_FADE::active

Non-zero while the fade runs.

Definition at line 46 of file sound.hpp.

◆ target_volume

s32 MIDI_FADE::target_volume

Volume the fade stops at.

Definition at line 47 of file sound.hpp.

◆ volume

float MIDI_FADE::volume

Volume the fade has reached.

Definition at line 48 of file sound.hpp.

◆ step

float MIDI_FADE::step

Volume added each frame.

Definition at line 49 of file sound.hpp.