Beispiel #1
0
 internal Cue(AudioEngine engine, string cuename, XactSound[] sounds, float[] probs)
 {
     _engine    = engine;
     _sounds    = sounds;
     _probs     = probs;
     _variables = engine.CreateCueVariables();
 }
Beispiel #2
0
 internal Cue(AudioEngine engine, string cuename, XactSound sound)
 {
     _engine    = engine;
     _sounds    = new XactSound[1];
     _sounds[0] = sound;
     _probs     = new float[1];
     _probs[0]  = 1.0f;
     _variables = engine.CreateCueVariables();
 }