jack2 codebase
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.

40 lines
1.2KB

  1. /*
  2. Copyright (C) 2014 Cédric Schieli
  3. This program is free software; you can redistribute it and/or
  4. modify it under the terms of the GNU General Public License
  5. as published by the Free Software Foundation; either version 2
  6. of the License, or (at your option) any later version.
  7. This program is distributed in the hope that it will be useful,
  8. but WITHOUT ANY WARRANTY; without even the implied warranty of
  9. MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  10. GNU General Public License for more details.
  11. You should have received a copy of the GNU General Public License
  12. along with this program; if not, write to the Free Software
  13. Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
  14. */
  15. #include "JackWaitCallbackDriver.h"
  16. namespace Jack
  17. {
  18. JackWaitCallbackDriver::JackWaitCallbackDriver(JackRestarterDriver* driver)
  19. : JackWaitThreadedDriver(driver)
  20. {
  21. // Self register with the decorated driver so it can restart us
  22. assert(driver);
  23. driver->SetRestartDriver((JackDriver*)this);
  24. }
  25. bool JackWaitCallbackDriver::ExecuteReal()
  26. {
  27. // End the thread and let the callback driver do its job
  28. return false;
  29. }
  30. } // end of namespace