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

Inherits Terraria.Audio.ASoundEffectBasedAudioTrack.

Public Member Functions

 WAVAudioTrack (Stream stream)
 
override void Dispose ()
 
override void Reuse ()
 
- Public Member Functions inherited from Terraria.Audio.ASoundEffectBasedAudioTrack
void Pause ()
 
void Play ()
 
void Resume ()
 
void SetVariable (string variableName, float value)
 
void Stop (AudioStopOptions options)
 
void Update ()
 

Protected Member Functions

override void ReadAheadPutAChunkIntoTheBuffer ()
 
- Protected Member Functions inherited from Terraria.Audio.ASoundEffectBasedAudioTrack
void CreateSoundEffect (int sampleRate, AudioChannels channels)
 
void PrepareBuffer ()
 
virtual void PrepareToPlay ()
 
void ResetBuffer ()
 

Additional Inherited Members

- Protected Attributes inherited from Terraria.Audio.ASoundEffectBasedAudioTrack
byte[] _bufferToSubmit = new byte[4096]
 
DynamicSoundEffectInstance _soundEffectInstance
 
float[] _temporaryBuffer = new float[2048]
 
- Static Protected Attributes inherited from Terraria.Audio.ASoundEffectBasedAudioTrack
const int bufferCountPerSubmit = 2
 
const int bufferLength = 4096
 
const int buffersToCoverFor = 8
 
- Properties inherited from Terraria.Audio.ASoundEffectBasedAudioTrack
bool IsPaused [get]
 
bool IsPlaying [get]
 
bool IsStopped [get]
 
- Properties inherited from Terraria.Audio.IAudioTrack
bool IsPaused [get]
 
bool IsPlaying [get]
 
bool IsStopped [get]