public IAsset Load(string name, string path, Dictionary<string, string> parameters, ContentManager manager) { var engine = XACTAudio.AudioController.Engine; var waveBank = new WaveBank() { Name = name, InnerWaveBank = new Microsoft.Xna.Framework.Audio.WaveBank(engine, manager.RootDirectory + @"\" + path) }; XACTAudio.AudioController.AddWaveBank(waveBank); return waveBank; }
public void RemoveWaveBank(WaveBank bank) { WaveBanks.Remove(bank.Name); }
public void AddWaveBank(WaveBank bank) { WaveBanks.Add(bank.Name, bank); }