public PlayWaveEvent(XactClip clip, float timeStamp, float randomOffset, SoundBank soundBank, int[] waveBanks, int[] tracks, byte[] weights, int totalWeights, VariationType variation, Vector2?volumeVar, Vector2?pitchVar, Vector4?filterVar, int loopCount, bool newWaveOnLoop) : base(clip, timeStamp, randomOffset) { _soundBank = soundBank; _waveBanks = waveBanks; _tracks = tracks; _weights = weights; _totalWeights = totalWeights; _volumeVar = volumeVar; _pitchVar = pitchVar; _filterVar = filterVar; _wavIndex = -1; _loopIndex = 0; _trackVolume = 1.0f; _trackPitch = 0; _trackFilterFrequency = 0; _trackFilterQFactor = 0; _clipVolume = 1.0f; _clipPitch = 0; _clipReverbMix = 0; _variation = variation; _loopCount = loopCount; _newWaveOnLoop = newWaveOnLoop; }
public VolumeEvent(XactClip clip, float timeStamp, float randomOffset, float volume) : base(clip, timeStamp, randomOffset) { _volume = volume; }
protected ClipEvent(XactClip clip, float timeStamp, float randomOffset) { _clip = clip; TimeStamp = timeStamp; RandomOffset = randomOffset; }