tModLoader v2024.08
A mod to make and play Terraria mods
IAudioSystem Interface Reference

Inherits IDisposable.

Inherited by DisabledAudioSystem, and LegacyAudioSystem.

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 > sources)