public ISound Load(string name, bool is3d) { if (!File.Exists(name)) return null; ISound sound = new MdxSound(_audioDevice, name, is3d); sound.Volume = _defaultVolume; return sound; }
public ISound Load(string name, bool is3d) { if (!File.Exists(name)) { return(null); } ISound sound = new MdxSound(_audioDevice, name, is3d); sound.Volume = _defaultVolume; return(sound); }