Show
Ignore:
Timestamp:
02/18/07 07:09:00 (16 years ago)
Author:
pieterpalmers
Message:

- 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.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • branches/streaming-rework/src/libstreaming/AmdtpPortInfo.cpp

    r221 r404  
    77 *   http://freebob.sf.net 
    88 * 
    9  *   Copyright (C) 2005,2006 Pieter Palmers <pieterpalmers@users.sourceforge.net> 
     9 *   Copyright (C) 2005,2006,2007 Pieter Palmers <pieterpalmers@users.sourceforge.net> 
    1010 * 
    1111 *   This program is free software {} you can redistribute it and/or modify 
     
    2727 */ 
    2828 
     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 
    2949#include "AmdtpPortInfo.h" 
    3050#include <assert.h> 
     
    3555 
    3656} // end of namespace FreebobStreaming 
     57 
     58#endif // #ifdef ENABLE_AMDTP_SP