Beispiel #1
0
		/// <summary>
		/// The full Sound constructor
		/// </summary>
		/// <param name="soundSystem">The sound system that this sound is associated with</param>
		/// <param name="mediaFile">The path or url of the file that the sound comes from</param>
		internal Sound(SoundSystem soundSystem, Uri uri)
		{			
			this.soundSystem = soundSystem;
			this.uri = uri;
		}
Beispiel #2
0
		internal Sound(SoundSystem soundSystem, string path)
		{
			this.soundSystem = soundSystem;
			this.uri = new Uri(string.Format("file://{0}{1}", path, System.IO.Path.DirectorySeparatorChar));
		}
		public RecordDriverCollection(SoundSystem system, bool initialize) : base(system, initialize)
		{
			if (initialize) GetRecordDrivers();
		}