Definition at line 138 of file MusicWrappers.cs.
◆ MusicStreamingWAV()
Terraria.ModLoader.Audio.MusicStreamingWAV.MusicStreamingWAV |
( |
string |
path | ) |
|
◆ PrepareStream()
override void Terraria.ModLoader.Audio.MusicStreamingWAV.PrepareStream |
( |
| ) |
|
|
protectedvirtual |
Implements Terraria.ModLoader.Audio.MusicStreaming.
Definition at line 144 of file MusicWrappers.cs.
151 int chunkID = reader.ReadInt32();
152 int fileSize = reader.ReadInt32();
153 int riffType = reader.ReadInt32();
154 int fmtID = reader.ReadInt32();
155 int fmtSize = reader.ReadInt32();
156 int fmtCode = reader.ReadInt16();
157 channels = (AudioChannels)reader.ReadInt16();
159 int fmtAvgBPS = reader.ReadInt32();
160 int fmtBlockAlign = reader.ReadInt16();
161 int bitDepth = reader.ReadInt16();
165 int fmtExtraSize = reader.ReadInt16();
166 reader.ReadBytes(fmtExtraSize);
169 int dataID = reader.ReadInt32();
170 int dataSize = reader.ReadInt32();
◆ Reset()
override void Terraria.ModLoader.Audio.MusicStreamingWAV.Reset |
( |
| ) |
|
|
virtual |
◆ dataStart
long Terraria.ModLoader.Audio.MusicStreamingWAV.dataStart = -1 |
|
private |