Toast Engine
Loading...
Searching...
No Matches
toast::MusicPlayer::ActiveTrack Struct Reference

Public Attributes

uint64_t instance_id = 0
int track_index = -1
float current_vol = 0.0f
float target_vol = 1.0f
float fade_duration = 0.0f
float fade_elapsed = 0.0f
 current_vol/target_vol and fade_duration/elapsed drive the crossfade lerp

The documentation for this struct was generated from the following file: