public virtual void SampleCleanup() { for (int i = 0; i < this.subDef.paramMappings.Count; i++) { SoundParameterMapping soundParameterMapping = this.subDef.paramMappings[i]; if (soundParameterMapping.curve.HasView) { soundParameterMapping.curve.View.ClearDebugInputFrom(this); } } }
public void ApplyMappedParameters() { for (int i = 0; i < this.subDef.paramMappings.Count; i++) { SoundParameterMapping soundParameterMapping = this.subDef.paramMappings[i]; if (soundParameterMapping.paramUpdateMode != SoundParamUpdateMode.OncePerSample || !this.mappingsApplied) { soundParameterMapping.Apply(this); } } this.mappingsApplied = true; }
private static SoundParamTarget <Sample> m__0(SoundParameterMapping m) { return(m.outParam); }