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.

23 lines
368B

  1. namespace rack_plugin_rcm {
  2. class Auditioner {
  3. public:
  4. void start(int step);
  5. void retrigger();
  6. void stop();
  7. bool isAuditioning();
  8. int stepToAudition();
  9. bool consumeRetrigger();
  10. bool consumeStopEvent();
  11. private:
  12. int step = -1;
  13. bool needsRetrigger = false;
  14. bool auditioning = false;
  15. bool stopPending = false;
  16. };
  17. } // namespace rack_plugin_rcm