External, Non-PPA KXStudio Repository
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

19 lines
560B

  1. --- cardinal-22.03.orig/plugins/Bidoo/src/ZINC.cpp
  2. +++ cardinal-22.03/plugins/Bidoo/src/ZINC.cpp
  3. @@ -123,6 +123,7 @@ struct ZINC : BidooModule {
  4. const float slewMax = 500.0f;
  5. const float shapeScale = 0.1f;
  6. + __attribute__((optimize(1)))
  7. ZINC() {
  8. config(NUM_PARAMS, NUM_INPUTS, NUM_OUTPUTS, NUM_LIGHTS);
  9. @@ -145,6 +146,7 @@ struct ZINC : BidooModule {
  10. }
  11. }
  12. + __attribute__((optimize(1)))
  13. void process(const ProcessArgs &args) override {
  14. float inM = inputs[IN_MOD].getVoltage() / 5.0f;
  15. float inC = inputs[IN_CARR].getVoltage() / 5.0f;