public static void TrueLoadSong(string key) { if (!SongList.ContainsKey(key) && LoadSongList.ContainsKey(key)) { WavStream wav = new WavStream(); wav.load(LoadPath + LoadSongList[key]); SongList.Add(key, wav); } }
public static void LoadSong(string key, string path, double defaultVolume = 1) { #if DEBUG GhostLoadSong(key, path, defaultVolume); #else WavStream wav = new WavStream(); wav.load(LoadPath + path); SongList.Add(key, wav); DefaultSongVolume.Add(key, defaultVolume); #endif }