Correct XCode target.
[jack2.git] / linux / alsa / generic_hw.c
blob30e7f3400a7bd0b56bcaeb30c6e626a8357cbc67
1 /*
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 $
21 #include "hardware.h"
22 #include "alsa_driver.h"
24 static int generic_set_input_monitor_mask (jack_hardware_t *hw, unsigned long mask)
26 return -1;
29 static int generic_change_sample_clock (jack_hardware_t *hw, SampleClockMode mode)
31 return -1;
34 static void
35 generic_release (jack_hardware_t *hw)
37 return;
40 jack_hardware_t *
41 jack_alsa_generic_hw_new (alsa_driver_t *driver)
44 jack_hardware_t *hw;
46 hw = (jack_hardware_t *) malloc (sizeof (jack_hardware_t));
48 hw->capabilities = 0;
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;
55 return hw;