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.

53 lines
1.3KB

  1. /*
  2. Copyright (C) 2001 Paul Davis
  3. This program is free software; you can redistribute it and/or modify
  4. it under the terms of the GNU Lesser General Public License as published by
  5. the Free Software Foundation; either version 2.1 of the License, or
  6. (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 Lesser General Public License for more details.
  11. You should have received a copy of the GNU Lesser General Public License
  12. along with this program; if not, write to the Free Software
  13. Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
  14. $Id: JackTypes.h,v 1.2.2.1 2006/06/20 14:44:00 letz Exp $
  15. */
  16. #ifndef __JackTypes__
  17. #define __JackTypes__
  18. #include "types.h"
  19. #include "JackCompilerDeps.h"
  20. typedef unsigned short UInt16;
  21. #if __LP64__
  22. typedef unsigned int UInt32;
  23. typedef signed int SInt32;
  24. #else
  25. typedef unsigned long UInt32;
  26. typedef signed long SInt32;
  27. #endif
  28. #include "JackTypes_os.h"
  29. typedef uint16_t jack_int_t; // Internal type for ports and refnum
  30. typedef enum {
  31. JACK_TIMER_SYSTEM_CLOCK,
  32. JACK_TIMER_HPET,
  33. } jack_timer_type_t;
  34. typedef enum {
  35. NotTriggered,
  36. Triggered,
  37. Running,
  38. Finished,
  39. } jack_client_state_t;
  40. #endif