Example #1
0
 public override void Perform(AudioData obj, PreviewSoundQuery query)
 {
     base.Perform(obj, query);
     query.Result = new Sound(obj);
 }
Example #2
0
 public override void Perform(Sound obj, PreviewSoundQuery query)
 {
     base.Perform(obj, query);
     query.Result = obj.Clone() as Sound;
 }
Example #3
0
		public static Sound GetPreviewSound(object obj)
		{
			PreviewSoundQuery query = new PreviewSoundQuery(obj);
			GetPreview(query);
			return query.Result;
		}