Example #1
0
 public XnaMusic(string filename, XnaSoundDevice device)
     : base(filename, device)
 {
     music = device.Content.Load<Song>(filename);
 }
Example #2
0
		public XnaMusic(string filename, XnaSoundDevice device, ContentManager contentManager)
			: base(filename, device)
		{
			this.contentManager = contentManager;
		}
Example #3
0
 public XnaSound(string filename, XnaSoundDevice device)
     : base(filename, device)
 {
     effect = device.Content.Load<SoundEffect>(filename);
 }