Skip to content

If GainNode "gain" is 1, pass buffers through without modification #3

@kirbysayshi

Description

@kirbysayshi

A GainNode could be optimized where if the gain value is exactly 1 it just passes audio through to save CPU, rather than iterating over the entire buffer needlessly.

Probably best to check if the starting, middle, and ending gain values are 1. Otherwise a rapid change could be missed.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions