public override Axiom.SoundSystems.Sound LoadSound(string filename, short type) { // create the sound and add it to the list Sound thissound = new Axiom.SoundSystems.OpenAL.Sound(filename, lastid, type); soundlist.Insert(lastid, thissound); // update the last id lastid++; return thissound; }
protected override void ThreadedLoadSound(object stateInfo) { LoadInfo info = (LoadInfo)stateInfo; Axiom.SoundSystems.Sound sound = new Axiom.SoundSystems.OpenAL.Sound(info.file_name, info.sound_id, info.sound_type); soundlist.Insert(info.sound_id, sound); }