using System; using Sandbox; namespace SFXR; public abstract class SFXREffect : Component { /// /// Applies the effect to a sample /// /// Samples to apply the effect to /// Sound applying the effect to /// Sample with the effect applied public abstract short[] Apply( short[] samples, SFXRComponent sound ); /// /// Sanitizes the effect's parameters /// public virtual void Sanitize() { } }