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.

Engine.h 787B

1234567891011121314151617181920212223242526272829303132
  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. /**Marker for input/output driver*/
  15. class Engine
  16. {
  17. public:
  18. Engine();
  19. virtual ~Engine();
  20. /**Start the Driver with all capabilities
  21. * @return true on success*/
  22. virtual bool Start() = 0;
  23. /**Completely stop the Driver*/
  24. virtual void Stop() = 0;
  25. std::string name;
  26. };
  27. #endif