|
Terraria v1.4.4.9
Terraria source code documentation
|
Public Member Functions | |
| OGGAudioTrack (Stream streamToRead) | |
| override void | Reuse () |
| override void | Dispose () |
| void | Update () |
| void | Stop (AudioStopOptions options) |
| void | Play () |
| void | Pause () |
| void | SetVariable (string variableName, float value) |
| void | Resume () |
Protected Member Functions | |
| override void | ReadAheadPutAChunkIntoTheBuffer () |
| void | CreateSoundEffect (int sampleRate, AudioChannels channels) |
| void | ResetBuffer () |
| void | PrepareBuffer () |
| virtual void | PrepareToPlay () |
Protected Attributes | |
| byte[] | _bufferToSubmit = new byte[4096] |
| float[] | _temporaryBuffer = new float[2048] |
| DynamicSoundEffectInstance | _soundEffectInstance |
Static Protected Attributes | |
| const int | bufferLength = 4096 |
| const int | bufferCountPerSubmit = 2 |
| const int | buffersToCoverFor = 8 |
Properties | |
| bool | IsPlaying [get] |
| bool | IsStopped [get] |
| bool | IsPaused [get] |
Private Member Functions | |
| void | PrepareBufferToSubmit () |
| void | FindLoops () |
| void | TryReadingTag (IDictionary< string, IList< string > > tags, string entryName, ref int result) |
| void | _soundEffectInstance_BufferNeeded (object sender, EventArgs e) |
| float | ReMapVolumeToMatchXact (float musicVolume) |
Static Private Member Functions | |
| static void | ApplyTemporaryBufferTo (float[] temporaryBuffer, byte[] samplesBuffer) |
Private Attributes | |
| VorbisReader | _vorbisReader |
| int | _loopStart |
| int | _loopEnd |
| int | _sampleRate |
| AudioChannels | _channels |
Definition at line 8 of file OGGAudioTrack.cs.