2 Copyright (C) 2001 Paul Davis
4 This program is free software; you can redistribute it and/or modify
5 it under the terms of the GNU General Public License as published by
6 the Free Software Foundation; either version 2 of the License, or
7 (at your option) any later version.
9 This program is distributed in the hope that it will be useful,
10 but WITHOUT ANY WARRANTY; without even the implied warranty of
11 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 GNU General Public License for more details.
14 You should have received a copy of the GNU General Public License
15 along with this program; if not, write to the Free Software
16 Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
18 $Id: generic_hw.c,v 1.2 2005/08/29 10:36:28 letz Exp $
22 #include "alsa_driver.h"
24 static int generic_set_input_monitor_mask (jack_hardware_t
*hw
, unsigned long mask
)
29 static int generic_change_sample_clock (jack_hardware_t
*hw
, SampleClockMode mode
)
35 generic_release (jack_hardware_t
*hw
)
41 jack_alsa_generic_hw_new (alsa_driver_t
*driver
)
46 hw
= (jack_hardware_t
*) malloc (sizeof (jack_hardware_t
));
49 hw
->input_monitor_mask
= 0;
51 hw
->set_input_monitor_mask
= generic_set_input_monitor_mask
;
52 hw
->change_sample_clock
= generic_change_sample_clock
;
53 hw
->release
= generic_release
;