Jack2 1.9.6

JackTypes.h

00001 /*
00002   Copyright (C) 2001 Paul Davis
00003 
00004   This program is free software; you can redistribute it and/or modify
00005   it under the terms of the GNU Lesser General Public License as published by
00006   the Free Software Foundation; either version 2.1 of the License, or
00007   (at your option) any later version.
00008 
00009   This program is distributed in the hope that it will be useful,
00010   but WITHOUT ANY WARRANTY; without even the implied warranty of
00011   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
00012   GNU Lesser General Public License for more details.
00013 
00014   You should have received a copy of the GNU Lesser General Public License
00015   along with this program; if not, write to the Free Software
00016   Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
00017 
00018   $Id: JackTypes.h,v 1.2.2.1 2006/06/20 14:44:00 letz Exp $
00019 */
00020 
00021 #ifndef __JackTypes__
00022 #define __JackTypes__
00023 
00024 #include "JackCompilerDeps.h"
00025 
00026 typedef unsigned short UInt16;
00027 #if __LP64__
00028 typedef unsigned int UInt32;
00029 typedef signed int   SInt32;
00030 #else
00031 typedef unsigned long UInt32;
00032 typedef signed long   SInt32;
00033 #endif
00034 
00035 #include "JackTypes_os.h"
00036 
00037 typedef uint16_t jack_int_t;  // Internal type for ports and refnum
00038 
00039 typedef enum {
00040         JACK_TIMER_SYSTEM_CLOCK,
00041         JACK_TIMER_CYCLE_COUNTER,
00042         JACK_TIMER_HPET,
00043 } jack_timer_type_t;
00044 
00045 typedef enum {
00046     NotTriggered,
00047     Triggered,
00048     Running,
00049     Finished,
00050 } jack_client_state_t;
00051 
00052 #endif