** Warning: Cannot open xref database.
1 /*
2 Copyright (C) 2001 Paul Davis
3
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.
8
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.
13
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.
17
18 $Id: generic_hw.c,v 1.2 2003/08/29 00:06:30 trutkin Exp $
19 */
20
21 #include <jack/hardware.h>
22 #include "alsa_driver.h"
23
24 static int generic_set_input_monitor_mask (jack_hardware_t *hw, unsigned long mask)
25 {
26 return -1;
27 }
28
29 static int generic_change_sample_clock (jack_hardware_t *hw, SampleClockMode mode)
30 {
31 return -1;
32 }
33
34 void
35 jack_alsa_generic_hw_release (jack_hardware_t *hw)
36
37 {
38 return;
39 }
40
41 jack_hardware_t *
42 jack_alsa_generic_hw_new (alsa_driver_t *driver)
43
44 {
45 jack_hardware_t *hw;
46
47 hw = (jack_hardware_t *) malloc (sizeof (jack_hardware_t));
48
49 hw->capabilities = 0;
50 hw->input_monitor_mask = 0;
51
52 hw->set_input_monitor_mask = generic_set_input_monitor_mask;
53 hw->change_sample_clock = generic_change_sample_clock;
54 hw->release = jack_alsa_generic_hw_release;
55
56 return hw;
57 }
58
This page was automatically generated by the
LXR engine.
Visit the LXR main site for more
information.