AudioChannel.Apply C# (CSharp) Méthode

Apply() public méthode

public Apply ( ) : void
Résultat void
    public void Apply()
    {
        if (!changed)
            return;

        //todo: implement filters and apply them here (for reverb etc.)

        changed = false;

        var targetSampleRate = (SampleRate - 18000) + (36000 * pitchBend);
        if (!Mathf.Approximately(targetSampleRate, SampleRate))
            Debug.LogWarning("TODO: Implement pitch bend. Target sample rate = '" + targetSampleRate + "'.");
    }