Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve mixer performance when gain is 0.0 #466

Open
wants to merge 6 commits into
base: master
Choose a base branch
from

Commits on Jun 23, 2023

  1. Configuration menu
    Copy the full SHA
    22329a3 View commit details
    Browse the repository at this point in the history

Commits on Jun 28, 2023

  1. Configuration menu
    Copy the full SHA
    314d369 View commit details
    Browse the repository at this point in the history

Commits on Aug 2, 2023

  1. Configuration menu
    Copy the full SHA
    72a36b3 View commit details
    Browse the repository at this point in the history

Commits on Aug 15, 2023

  1. Configuration menu
    Copy the full SHA
    4e79ba8 View commit details
    Browse the repository at this point in the history
  2. Improve mixer performance when gain is 0.0

    The special case of 1.0 was catered for, but 0.0 can also be treated as a special case by releasing the relevant input block without multiplying and adding its data - it would be all zeroes anyway. Saves about 0.033% CPU per connected zero-gain channel, on a Teensy 4.1. Interestingly, the 1.0 gain optimisation appears to have little effect for the same hardware; those DSP instructions must be really effective!
    h4yn0nnym0u5e committed Aug 15, 2023
    Configuration menu
    Copy the full SHA
    6faf8c1 View commit details
    Browse the repository at this point in the history
  3. Remove debug code

    h4yn0nnym0u5e committed Aug 15, 2023
    Configuration menu
    Copy the full SHA
    5f3bef6 View commit details
    Browse the repository at this point in the history