Jack2 1.9.6
|
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 General Public License as published by 00006 the Free Software Foundation; either version 2 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 General Public License for more details. 00013 00014 You should have received a copy of the GNU General Public License 00015 along with this program; if not, write to the Free Software 00016 Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. 00017 00018 $Id: hammerfall.h,v 1.3 2005/11/23 11:24:29 letz Exp $ 00019 */ 00020 00021 #ifndef __jack_hammerfall_h__ 00022 #define __jack_hammerfall_h__ 00023 00024 #include <sys/time.h> 00025 00026 typedef struct 00027 { 00028 int lock_status[3]; 00029 int sync_status[3]; 00030 int said_that_spdif_is_fine; 00031 pthread_t monitor_thread; 00032 alsa_driver_t *driver; 00033 struct timespec monitor_interval; 00034 } 00035 hammerfall_t; 00036 00037 #ifdef __cplusplus 00038 extern "C" 00039 { 00040 #endif 00041 00042 jack_hardware_t *jack_alsa_hammerfall_hw_new (alsa_driver_t *driver); 00043 00044 #ifdef __cplusplus 00045 } 00046 #endif 00047 00048 #endif /* __jack_hammerfall_h__*/