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.

35 lines
555B

  1. #include "rack.hpp"
  2. #include <time.h>
  3. #include <iostream>
  4. #ifdef ARCH_MAC
  5. #include <mach/clock.h>
  6. #include <mach/mach.h>
  7. #include <mach/mach_time.h>
  8. #include <mach/clock_types.h>
  9. #endif
  10. #ifdef ARCH_LIN
  11. #include <string.h>
  12. #endif
  13. using namespace rack;
  14. RACK_PLUGIN_DECLARE(NauModular);
  15. #ifdef USE_VST2
  16. #define plugin "NauModular"
  17. #endif // USE_VST2
  18. namespace NauModular{
  19. /*
  20. #ifdef TARGET_OSX
  21. static clock_serv_t cs;
  22. #endif
  23. static void init();
  24. float getTimef();
  25. static void getMonotonicTime(uint64_t & seconds, uint64_t & nanos);
  26. */
  27. };