Changeset 1254
- Timestamp:
- 06/08/08 07:34:59 (13 years ago)
- Files:
-
- trunk/libffado/config.h.in (modified) (2 diffs)
- trunk/libffado/config_debug.h.in (added)
- trunk/libffado/SConstruct (modified) (1 diff)
- trunk/libffado/src/debugmodule/debugmodule.cpp (modified) (1 diff)
- trunk/libffado/src/debugmodule/debugmodule.h (modified) (1 diff)
- trunk/libffado/src/devicemanager.cpp (modified) (1 diff)
- trunk/libffado/src/ffado.cpp (modified) (1 diff)
- trunk/libffado/src/fireworks/fireworks_device.cpp (modified) (3 diffs)
- trunk/libffado/src/genericavc/avc_avdevice.cpp (modified) (2 diffs)
- trunk/libffado/src/libavc/descriptors/avc_descriptor.cpp (modified) (1 diff)
- trunk/libffado/src/libieee1394/configrom.cpp (modified) (1 diff)
- trunk/libffado/src/libieee1394/ieee1394service.cpp (modified) (1 diff)
- trunk/libffado/src/libieee1394/IsoHandler.cpp (modified) (1 diff)
- trunk/libffado/src/libieee1394/IsoHandlerManager.cpp (modified) (1 diff)
- trunk/libffado/src/libieee1394/IsoHandlerManager.h (modified) (1 diff)
- trunk/libffado/src/libstreaming/amdtp/AmdtpBufferOps.h (modified) (1 diff)
- trunk/libffado/src/libstreaming/amdtp/AmdtpReceiveStreamProcessor.cpp (modified) (1 diff)
- trunk/libffado/src/libstreaming/amdtp/AmdtpTransmitStreamProcessor.cpp (modified) (1 diff)
- trunk/libffado/src/libstreaming/generic/StreamProcessor.cpp (modified) (1 diff)
- trunk/libffado/src/libstreaming/motu/MotuReceiveStreamProcessor.cpp (modified) (1 diff)
- trunk/libffado/src/libstreaming/motu/MotuTransmitStreamProcessor.cpp (modified) (1 diff)
- trunk/libffado/src/libstreaming/StreamProcessorManager.cpp (modified) (1 diff)
- trunk/libffado/src/libutil/ByteSwap.h (modified) (1 diff)
- trunk/libffado/src/libutil/IpcRingBuffer.h (modified) (1 diff)
- trunk/libffado/src/libutil/PosixMutex.h (modified) (1 diff)
- trunk/libffado/src/libutil/serialize.h (modified) (1 diff)
- trunk/libffado/src/libutil/serialize_expat.cpp (modified) (1 diff)
- trunk/libffado/src/libutil/serialize_libxml.cpp (modified) (2 diffs)
- trunk/libffado/support/alsa/alsa_plugin.cpp (modified) (1 diff)
- trunk/libffado/support/dbus/ffado-dbus-server.cpp (modified) (1 diff)
- trunk/libffado/tests/streaming/teststreaming-ipc.cpp (modified) (1 diff)
- trunk/libffado/tests/streaming/teststreaming3.cpp (modified) (1 diff)
- trunk/libffado/tests/test-ffado.cpp (modified) (1 diff)
- trunk/libffado/version.h.in (added)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/libffado/config.h.in
r1239 r1254 2 2 #ifndef CONFIG_H 3 3 #define CONFIG_H 4 5 /* Name of package */6 #define PACKAGE $PACKAGE7 8 /* Define to the address where bug reports for this package should be sent. */9 #define PACKAGE_BUGREPORT "<ffado-devel@lists.sf.net>"10 11 /* Define to the full name of this package. */12 #define PACKAGE_NAME "$PACKAGE"13 14 /* Define to the full name and version of this package. */15 #define PACKAGE_STRING "$PACKAGE $VERSION-$REVISION"16 17 /* Define to the one symbol short name of this package. */18 #define PACKAGE_TARNAME "$PACKAGE"19 20 /* Define to the version of this package. */21 #define PACKAGE_VERSION "$VERSION-$REVISION"22 23 /* Define to the version of the cace. */24 #define CACHE_VERSION "$VERSION-$REVISION"25 #define CACHEDIR "$CACHEDIR"26 27 /* Define to the api version */28 #define FFADO_API_VERSION $FFADO_API_VERSION29 4 30 5 #define BINDIR "$BINDIR" … … 41 16 #define SERIALIZE_USE_EXPAT $SERIALIZE_USE_EXPAT 42 17 43 // use a RT-safe message buffer for debug output 44 // useful to disable this when the code aborts/segfaults to 45 // not lose debug output. should be enabled though. 46 #define DEBUG_USE_MESSAGE_BUFFER 1 47 // max message length in the debug messagebuffer 48 #define DEBUG_MAX_MESSAGE_LENGTH 512 49 // number of messages in the debug messagebuffer (power of two) 50 #define DEBUG_MB_BUFFERS 1024 51 52 // use an RT thread for reading out the messagebuffer. 53 // can reduce the number of buffer xruns, but not 54 // recommended 55 #define DEBUG_MESSAGE_BUFFER_REALTIME 0 56 #define DEBUG_MESSAGE_BUFFER_REALTIME_PRIO 1 57 58 // When a write can't get the buffer lock, how many times 59 // should it retry, and wait how long between retries? 60 #define DEBUG_MESSAGE_BUFFER_COLLISION_WAIT_NTRIES 2 61 #define DEBUG_MESSAGE_BUFFER_COLLISION_WAIT_NSEC 50000 62 63 64 // support a debug backlog 65 // note that this does not influence non-debug builds 66 #define DEBUG_BACKLOG_SUPPORT 0 67 // number of messages in the backlog buffer (power of two) 68 #define DEBUG_BACKLOG_MB_BUFFERS 64 69 70 // support backtrace debugging 71 // note that this does not influence non-debug builds 72 #define DEBUG_BACKTRACE_SUPPORT 0 73 // max length of backtrace 74 #define DEBUG_MAX_BACKTRACE_LENGTH 8 75 // max amount of function pointers to keep track of 76 #define DEBUG_MAX_BACKTRACE_FUNCTIONS_SEEN 64 77 78 // lock debugging 79 #define DEBUG_LOCK_COLLISION_TRACING 0 80 81 // make this zero to disable the most extreme 82 // debug logging in the critical sections 83 #define DEBUG_EXTREME_ENABLE 0 18 #define CACHEDIR "$CACHEDIR" 84 19 85 20 // discovery trunk/libffado/SConstruct
r1240 r1254 525 525 # 526 526 env.ScanReplace( "config.h.in" ) 527 # ensure that the config.h is updated with the version 528 527 # ensure that the config.h is updated 529 528 env.Depends( "config.h", "SConstruct" ) 530 529 env.Depends( "config.h", 'cache/' + build_base + "options.cache" ) 531 530 532 # update config.h whenever the SVN revision changes 533 env.Depends( "config.h", env.Value(env['REVISION'])) 531 env.ScanReplace( "config_debug.h.in" ) 532 533 env.ScanReplace( "version.h.in" ) 534 env.Depends( "version.h", "SConstruct" ) 535 env.Depends( "version.h", 'cache/' + build_base + "options.cache" ) 536 # update version.h whenever the SVN revision changes 537 env.Depends( "version.h", env.Value(env['REVISION'])) 534 538 535 539 env.Depends( "libffado.pc", "SConstruct" ) trunk/libffado/src/debugmodule/debugmodule.cpp
r1232 r1254 24 24 25 25 #include "debugmodule.h" 26 #include "config.h"27 26 28 27 #include <stdarg.h> trunk/libffado/src/debugmodule/debugmodule.h
r1211 r1254 26 26 #define DEBUGMODULE_H 27 27 28 #include "config .h"28 #include "config_debug.h" 29 29 30 30 #include "../fbtypes.h" trunk/libffado/src/devicemanager.cpp
r1239 r1254 23 23 */ 24 24 25 #include "config.h" 25 26 #include "fbtypes.h" 26 27 trunk/libffado/src/ffado.cpp
r1047 r1254 27 27 */ 28 28 29 #include " config.h"29 #include "version.h" 30 30 31 31 #include "../libffado/ffado.h" trunk/libffado/src/fireworks/fireworks_device.cpp
r1239 r1254 22 22 */ 23 23 24 #include "config.h" 25 24 26 #include "fireworks_device.h" 25 27 #include "efc/efc_avc_cmd.h" … … 33 35 #include "libieee1394/configrom.h" 34 36 #include "libieee1394/ieee1394service.h" 35 36 #include "config.h"37 37 38 38 #include "fireworks/fireworks_control.h" … … 106 106 unsigned int vendorId = configRom.getNodeVendorId(); 107 107 unsigned int modelId = configRom.getModelId(); 108 108 109 109 GenericAVC::VendorModel vendorModel( SHAREDIR "/ffado_driver_fireworks.txt" ); 110 110 if ( vendorModel.parse() ) { trunk/libffado/src/genericavc/avc_avdevice.cpp
r1239 r1254 23 23 */ 24 24 25 #include "config.h" 26 25 27 #include "genericavc/avc_avdevice.h" 26 28 … … 34 36 35 37 #include "debugmodule/debugmodule.h" 36 37 #include "config.h"38 38 39 39 #include <string> trunk/libffado/src/libavc/descriptors/avc_descriptor.cpp
r1234 r1254 298 298 return false; 299 299 } 300 300 301 301 #ifdef DEBUG 302 302 if(getDebugLevel() >= DEBUG_LEVEL_VERY_VERBOSE) { 303 303 Util::Cmd::StringSerializer se_dbg; 304 304 serialize( se_dbg ); 305 305 306 306 // output the debug message in smaller chunks to avoid problems 307 307 // with a max message size trunk/libffado/src/libieee1394/configrom.cpp
r1186 r1254 24 24 */ 25 25 26 #include "config.h" 27 26 28 #include "configrom.h" 27 29 #include "ieee1394service.h" trunk/libffado/src/libieee1394/ieee1394service.cpp
r1163 r1254 24 24 25 25 #include "config.h" 26 26 27 #include "ieee1394service.h" 27 28 #include "ARMHandler.h" trunk/libffado/src/libieee1394/IsoHandler.cpp
r1246 r1254 22 22 */ 23 23 24 #include "config.h" 24 25 25 26 26 #include "IsoHandler.h" trunk/libffado/src/libieee1394/IsoHandlerManager.cpp
r1246 r1254 23 23 24 24 #include "config.h" 25 25 26 #include "IsoHandlerManager.h" 26 27 #include "ieee1394service.h" trunk/libffado/src/libieee1394/IsoHandlerManager.h
r1144 r1254 26 26 27 27 #include "config.h" 28 28 29 #include "debugmodule/debugmodule.h" 29 30 trunk/libffado/src/libstreaming/amdtp/AmdtpBufferOps.h
r864 r1254 27 27 #include <assert.h> 28 28 // to check for SSE etc... 29 #include "config.h" 29 30 30 31 31 #include <stdio.h> trunk/libffado/src/libstreaming/amdtp/AmdtpReceiveStreamProcessor.cpp
r1136 r1254 21 21 * 22 22 */ 23 #include "config.h" 23 24 24 25 25 #include "AmdtpReceiveStreamProcessor.h" trunk/libffado/src/libstreaming/amdtp/AmdtpTransmitStreamProcessor.cpp
r1234 r1254 23 23 24 24 #include "config.h" 25 25 26 #include "AmdtpTransmitStreamProcessor.h" 26 27 #include "AmdtpPort.h" trunk/libffado/src/libstreaming/generic/StreamProcessor.cpp
r1168 r1254 22 22 */ 23 23 24 #include "config.h" 24 25 25 26 26 #include "StreamProcessor.h" trunk/libffado/src/libstreaming/motu/MotuReceiveStreamProcessor.cpp
r1234 r1254 23 23 */ 24 24 25 #include "config.h" 25 26 26 #include "libutil/float_cast.h" 27 27 trunk/libffado/src/libstreaming/motu/MotuTransmitStreamProcessor.cpp
r1234 r1254 24 24 25 25 #include "config.h" 26 26 27 #include "libutil/float_cast.h" 27 28 trunk/libffado/src/libstreaming/StreamProcessorManager.cpp
r1165 r1254 21 21 * 22 22 */ 23 23 24 #include "config.h" 24 25 trunk/libffado/src/libutil/ByteSwap.h
r1152 r1254 31 31 32 32 // to check for SSE etc... 33 #include "config.h" 33 34 34 35 35 #include <stdio.h> trunk/libffado/src/libutil/IpcRingBuffer.h
r1240 r1254 28 28 #include <string> 29 29 30 #include "config.h" 30 31 31 32 32 #define FFADO_IPC_RINGBUFFER_MAGIC 0x57439812 trunk/libffado/src/libutil/PosixMutex.h
r1172 r1254 25 25 #define __POSIX_MUTEX__ 26 26 27 #include "config.h" 27 28 28 29 29 #include "Mutex.h" trunk/libffado/src/libutil/serialize.h
r1154 r1254 25 25 #define __FFADO_UTIL_SERIALIZE_H__ 26 26 27 #include "config.h" 27 28 28 29 29 #if SERIALIZE_USE_EXPAT trunk/libffado/src/libutil/serialize_expat.cpp
r1154 r1254 22 22 * 23 23 */ 24 #include "config.h"// FOR CACHE_VERSION24 // FOR CACHE_VERSION 25 25 26 26 #include "serialize.h" trunk/libffado/src/libutil/serialize_libxml.cpp
r1234 r1254 21 21 * 22 22 */ 23 #include "config.h" // FOR CACHE_VERSION 23 24 #include "version.h" // FOR CACHE_VERSION 24 25 25 26 #include "serialize.h" … … 29 30 30 31 using namespace std; 31 32 32 33 33 IMPL_DEBUG_MODULE( Util::XMLSerialize, XMLSerialize, DEBUG_LEVEL_NORMAL ); trunk/libffado/support/alsa/alsa_plugin.cpp
r1240 r1254 33 33 extern "C" { 34 34 35 #include " config.h"35 #include "version.h" 36 36 37 37 #include <byteswap.h> trunk/libffado/support/dbus/ffado-dbus-server.cpp
r1239 r1254 27 27 */ 28 28 29 #include <config.h> 29 #include "version.h" 30 30 31 #include <semaphore.h> 31 32 trunk/libffado/tests/streaming/teststreaming-ipc.cpp
r1240 r1254 26 26 * Test application for the IPC audio server 27 27 */ 28 29 #include "config.h"30 28 31 29 #include <stdio.h> trunk/libffado/tests/streaming/teststreaming3.cpp
r1172 r1254 27 27 * for floating point use 28 28 */ 29 30 #include "config.h"31 29 32 30 #include <stdio.h> trunk/libffado/tests/test-ffado.cpp
r1239 r1254 27 27 */ 28 28 29 #include <config.h>29 #include "version.h" 30 30 31 31 #include "libffado/ffado.h"