tModLoader v0.11.8.9
A mod to make and play Terraria mods
|
Public Member Functions | |
MusicStreamingOGG (string path) | |
override void | Reset () |
override void | Stop (AudioStopOptions options) |
Public Member Functions inherited from Terraria.ModLoader.Audio.MusicStreaming | |
MusicStreaming (string path) | |
override void | CheckBuffer () |
void | Dispose () |
override void | Pause () |
override void | Play () |
override void | Resume () |
override void | SetVariable (string name, float value) |
override void | Stop (AudioStopOptions options) |
virtual void | CheckBuffer () |
abstract void | Pause () |
abstract void | Play () |
abstract void | Reset () |
abstract void | Resume () |
abstract void | SetVariable (string name, float value) |
abstract void | Stop (AudioStopOptions options) |
Static Public Member Functions | |
static void | Convert (float[] floatBuf, byte[] buffer) |
Static Public Member Functions inherited from Terraria.ModLoader.Audio.Music | |
static implicit | operator Music (Cue cue) |
Protected Member Functions | |
override void | FillBuffer (byte[] buffer) |
override void | PrepareStream () |
virtual void | FillBuffer (byte[] buffer) |
abstract void | PrepareStream () |
Private Attributes | |
float[] | floatBuf |
int | loopEnd |
int | loopStart |
VorbisReader | reader |
Additional Inherited Members | |
Protected Attributes inherited from Terraria.ModLoader.Audio.MusicStreaming | |
AudioChannels | channels |
int | sampleRate |
Stream | stream |
Properties inherited from Terraria.ModLoader.Audio.MusicStreaming | |
override bool | IsPaused [get] |
override bool | IsPlaying [get] |
Properties inherited from Terraria.ModLoader.Audio.Music | |
abstract bool | IsPaused [get] |
abstract bool | IsPlaying [get] |
Definition at line 211 of file MusicWrappers.cs.
Terraria.ModLoader.Audio.MusicStreamingOGG.MusicStreamingOGG | ( | string | path | ) |
Definition at line 218 of file MusicWrappers.cs.
|
static |
Definition at line 260 of file MusicWrappers.cs.
References Terraria.ModLoader.Audio.MusicStreaming.buffer, and Terraria.ModLoader.Audio.MusicStreamingOGG.floatBuf.
Referenced by Terraria.ModLoader.Audio.MusicStreamingOGG.FillBuffer(), and Terraria.ModLoader.Mod.LoadSound().
|
protectedvirtual |
Reimplemented from Terraria.ModLoader.Audio.MusicStreaming.
Definition at line 234 of file MusicWrappers.cs.
References Terraria.ModLoader.Audio.MusicStreaming.buffer, Terraria.ModLoader.Audio.MusicStreamingOGG.Convert(), Terraria.ModLoader.Audio.MusicStreamingOGG.floatBuf, Terraria.ModLoader.Audio.MusicStreamingOGG.loopEnd, Terraria.ModLoader.Audio.MusicStreamingOGG.loopStart, and Terraria.ModLoader.Audio.MusicStreamingOGG.reader.
|
protectedvirtual |
Implements Terraria.ModLoader.Audio.MusicStreaming.
Definition at line 220 of file MusicWrappers.cs.
References Terraria.ModLoader.Audio.MusicStreaming.channels, Terraria.ModLoader.Audio.MusicStreamingOGG.loopEnd, Terraria.ModLoader.Audio.MusicStreamingOGG.loopStart, Terraria.ModLoader.Audio.MusicStreamingOGG.reader, Terraria.ModLoader.Audio.MusicStreaming.sampleRate, and Terraria.ModLoader.Audio.MusicStreaming.stream.
|
virtual |
Implements Terraria.ModLoader.Audio.Music.
Definition at line 255 of file MusicWrappers.cs.
References Terraria.ModLoader.Audio.MusicStreamingOGG.reader.
|
virtual |
Reimplemented from Terraria.ModLoader.Audio.MusicStreaming.
Definition at line 247 of file MusicWrappers.cs.
References Terraria.ModLoader.Audio.MusicStreamingOGG.floatBuf, and Terraria.ModLoader.Audio.MusicStreamingOGG.reader.
|
private |
Definition at line 214 of file MusicWrappers.cs.
Referenced by Terraria.ModLoader.Audio.MusicStreamingOGG.Convert(), Terraria.ModLoader.Audio.MusicStreamingOGG.FillBuffer(), and Terraria.ModLoader.Audio.MusicStreamingOGG.Stop().
|
private |
Definition at line 216 of file MusicWrappers.cs.
Referenced by Terraria.ModLoader.Audio.MusicStreamingOGG.FillBuffer(), and Terraria.ModLoader.Audio.MusicStreamingOGG.PrepareStream().
|
private |
Definition at line 215 of file MusicWrappers.cs.
Referenced by Terraria.ModLoader.Audio.MusicStreamingOGG.FillBuffer(), and Terraria.ModLoader.Audio.MusicStreamingOGG.PrepareStream().
|
private |