root/branches/streaming-rework/src/libstreaming/AmdtpPortInfo.cpp

Revision 404, 1.4 kB (checked in by pieterpalmers, 16 years ago)

- introduce support framework for DICE and Metric Halo
- change probe/discovery code to make adding devices easier
- made conditional compilation effectively work.

./configure now has the following switches:

--enable-bebob build BeBoB support (default=yes)
--enable-motu build Motu support (default=no)
--enable-dice build DICE support (default=no)
--enable-metric-halo build Metric Halo support (note: completely useless)

(default=no)

--enable-rme build RME support (note: completely useless)

(default=no)

--enable-bounce build Bounce device support (default=no)
--enable-all-devices build support for all supported devices (default=no)

these now turn on/off compilation effectively.

Line 
1 /* $Id$ */
2
3 /*
4  *   FreeBob Streaming API
5  *   FreeBob = Firewire (pro-)audio for linux
6  *
7  *   http://freebob.sf.net
8  *
9  *   Copyright (C) 2005,2006,2007 Pieter Palmers <pieterpalmers@users.sourceforge.net>
10  *
11  *   This program is free software {} you can redistribute it and/or modify
12  *   it under the terms of the GNU General Public License as published by
13  *   the Free Software Foundation {} either version 2 of the License, or
14  *   (at your option) any later version.
15  *
16  *   This program is distributed in the hope that it will be useful,
17  *   but WITHOUT ANY WARRANTY {} without even the implied warranty of
18  *   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
19  *   GNU General Public License for more details.
20  *
21  *   You should have received a copy of the GNU General Public License
22  *   along with this program {} if not, write to the Free Software
23  *   Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
24  *
25  *
26  *
27  */
28
29 #ifdef ENABLE_BEBOB
30     #ifndef ENABLE_AMDTP_SP
31         #define ENABLE_AMDTP_SP
32     #endif
33 #endif
34
35 #ifdef ENABLE_DICE
36     #ifndef ENABLE_AMDTP_SP
37         #define ENABLE_AMDTP_SP
38     #endif
39 #endif
40
41 #ifdef ENABLE_BOUNCE
42     #ifndef ENABLE_AMDTP_SP
43         #define ENABLE_AMDTP_SP
44     #endif
45 #endif
46
47 #ifdef ENABLE_AMDTP_SP
48
49 #include "AmdtpPortInfo.h"
50 #include <assert.h>
51
52
53 namespace FreebobStreaming {
54
55
56 } // end of namespace FreebobStreaming
57
58 #endif // #ifdef ENABLE_AMDTP_SP
Note: See TracBrowser for help on using the browser.