tModLoader  0.12 Alpha
A mod to make and play Terraria mods
Terraria.Audio.LegacyAudioSystem Class Reference

Inherits Terraria.Audio.IAudioSystem.

Public Member Functions

bool IsTrackPlaying (int trackIndex)
void LoadCue (int cueIndex, string cueName)
void LoadFromSources ()
void PauseAll ()
IEnumerator PrepareWaveBank ()
void ResumeAll ()
void Update ()
void UpdateAmbientCueState (int i, bool gameIsActive, ref float trackVolume, float systemVolume)
void UpdateAmbientCueTowardStopping (int i, float stoppingSpeed, ref float trackVolume, float systemVolume)
void UpdateAudioEngine ()
void UpdateCommonTrack (bool active, int i, float totalVolume, ref float tempFade)
void UpdateCommonTrackTowardStopping (int i, float totalVolume, ref float tempFade, bool isMainTrackAudible)
void UpdateMisc ()
void UseSources (List< IContentSource > sourcesFromLowestToHighest)

Public Attributes

IAudioTrack[] AudioTracks
Dictionary< int, IAudioTrackDefaultTrackByIndex
AudioEngine Engine
List< IContentSource > FileSources
int MusicReplayDelay
SoundBank SoundBank
Dictionary< int, string > TrackNamesByIndex
WaveBank WaveBank