public FSCPlayer(FSC fsc, string basedir) { this.fsc = fsc; this.BaseDir = basedir; SoundCache = new Dictionary <string, GCHandle>(); BeatLength = 60.0f / fsc.Tempo; }
public FSCPlayer(FSC fsc, string basedir) { this.fsc = fsc; this.BaseDir = basedir; SoundCache = new Dictionary <string, SoundEffect>(); SoundEffects = new List <SoundEffectInstance>(); BeatLength = 60.0f / fsc.Tempo; }
public FSCPlayer PlayFSC(string path) { var dir = Path.GetDirectoryName(path) + "/"; FSC fsc = new FSC(path); var player = new FSCPlayer(fsc, dir); FSCPlayers.Add(player); return(player); }