Audio plugin host https://kx.studio/carla
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.

39 lines
814B

  1. /*
  2. ZynAddSubFX - a software synthesizer
  3. Engine.h - Audio Driver base class
  4. Copyright (C) 2009-2010 Mark McCurry
  5. Author: Mark McCurry
  6. This program is free software; you can redistribute it and/or
  7. modify it under the terms of the GNU General Public License
  8. as published by the Free Software Foundation; either version 2
  9. of the License, or (at your option) any later version.
  10. */
  11. #ifndef ENGINE_H
  12. #define ENGINE_H
  13. #include <string>
  14. namespace zyncarla {
  15. /**Marker for input/output driver*/
  16. class Engine
  17. {
  18. public:
  19. Engine();
  20. virtual ~Engine();
  21. /**Start the Driver with all capabilities
  22. * @return true on success*/
  23. virtual bool Start() = 0;
  24. /**Completely stop the Driver*/
  25. virtual void Stop() = 0;
  26. std::string name;
  27. };
  28. }
  29. #endif