Example #1
0
 protected AudioItem(string name, int id, AudioItemManager itemManager, Magicolo.AudioTools.Player player)
 {
     this.Name        = name;
     this.Id          = id;
     this.Volume      = 1;
     this.Pitch       = 1;
     this.State       = AudioStates.Waiting;
     this.itemManager = itemManager;
     this.player      = player;
 }
Example #2
0
 protected AudioItem(string name, int id, float volume, float pitch, AudioStates state, AudioItemManager itemManager, Magicolo.AudioTools.Player player)
 {
     this.Name        = name;
     this.Id          = id;
     this.Volume      = volume;
     this.Pitch       = pitch;
     this.State       = state;
     this.itemManager = itemManager;
     this.player      = player;
 }