Changeset 210

Show
Ignore:
Timestamp:
05/21/06 12:10:55 (16 years ago)
Author:
pieterpalmers
Message:

--

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • branches/libfreebob-2.0/src/libstreaming/AmdtpPort.cpp

    r207 r210  
    2828 
    2929#include "AmdtpPort.h" 
     30#include <assert.h> 
    3031 
    3132namespace FreebobStreaming { 
  • branches/libfreebob-2.0/src/libstreaming/AmdtpPortInfo.cpp

    r207 r210  
    2828 
    2929#include "AmdtpPortInfo.h" 
     30#include <assert.h> 
     31 
    3032 
    3133namespace FreebobStreaming { 
  • branches/libfreebob-2.0/src/libstreaming/AmdtpStreamProcessor.cpp

    r207 r210  
    2828 
    2929#include "AmdtpStreamProcessor.h" 
     30#include <assert.h> 
     31 
    3032 
    3133namespace FreebobStreaming { 
  • branches/libfreebob-2.0/src/libstreaming/FreebobPosixThread.cpp

    r204 r210  
    3030#include <string.h> // for memset 
    3131#include <errno.h> 
     32#include <assert.h> 
     33 
    3234 
    3335namespace FreebobStreaming 
  • branches/libfreebob-2.0/src/libstreaming/freebob_streaming.cpp

    r203 r210  
    3535#include "libfreebob/freebob_streaming.h" 
    3636#include "messagebuffer.h" 
     37#include <assert.h> 
     38 
    3739 
    3840freebob_device_t *freebob_streaming_init (freebob_device_info_t *device_info, freebob_options_t options) { 
  • branches/libfreebob-2.0/src/libstreaming/IsoHandler.cpp

    r207 r210  
    3131#include <errno.h> 
    3232#include <netinet/in.h> 
     33#include <assert.h> 
     34 
    3335 
    3436#include <iostream> 
  • branches/libfreebob-2.0/src/libstreaming/IsoHandlerManager.cpp

    r206 r210  
    3030#include "IsoHandler.h" 
    3131#include "IsoStream.h" 
     32#include <assert.h> 
     33 
    3234 
    3335namespace FreebobStreaming 
  • branches/libfreebob-2.0/src/libstreaming/IsoStream.cpp

    r207 r210  
    2929#include "IsoStream.h" 
    3030#include "PacketBuffer.h" 
     31#include <assert.h> 
     32 
    3133 
    3234namespace FreebobStreaming 
  • branches/libfreebob-2.0/src/libstreaming/PacketBuffer.cpp

    r201 r210  
    2828 
    2929#include "PacketBuffer.h" 
     30#include <assert.h> 
     31 
    3032 
    3133namespace FreebobStreaming { 
  • branches/libfreebob-2.0/src/libstreaming/Port.cpp

    r206 r210  
    2929#include "Port.h" 
    3030 #include <stdlib.h> 
     31#include <assert.h> 
     32 
    3133 
    3234namespace FreebobStreaming { 
  • branches/libfreebob-2.0/src/libstreaming/PortManager.cpp

    r207 r210  
    2929#include "PortManager.h" 
    3030#include "Port.h" 
     31#include <assert.h> 
     32 
    3133 
    3234namespace FreebobStreaming { 
    3335 
    34 IMPL_DEBUG_MODULE( PortManager, PortManager, DEBUG_LEVEL_NORMAL ); 
     36// IMPL_DEBUG_MODULE( PortManager, PortManager, DEBUG_LEVEL_NORMAL ); 
    3537 
    3638PortManager::PortManager() { 
     
    4446int PortManager::addPort(Port *port) 
    4547{ 
    46       debugOutput( DEBUG_LEVEL_VERBOSE, "enter...\n"); 
     48//    debugOutput( DEBUG_LEVEL_VERBOSE, "enter...\n"); 
    4749        assert(port); 
    4850 
    4951        switch(port->getBufferType()) { 
    5052        case (Port::E_PacketBuffered): 
    51               debugOutput( DEBUG_LEVEL_VERBOSE, "Adding packet buffered port %s\n",port->getName().c_str()); 
     53//            debugOutput( DEBUG_LEVEL_VERBOSE, "Adding packet buffered port %s\n",port->getName().c_str()); 
    5254                m_PacketPorts.push_back(port); 
    5355                break; 
    5456        case Port::E_PeriodBuffered: 
    55               debugOutput( DEBUG_LEVEL_VERBOSE, "Adding period buffered port %s\n",port->getName().c_str()); 
     57//            debugOutput( DEBUG_LEVEL_VERBOSE, "Adding period buffered port %s\n",port->getName().c_str()); 
    5658                m_PeriodPorts.push_back(port); 
    5759                break; 
     
    6062                break;*/ 
    6163        default: 
    62               debugFatal("Unsupported port type!"); 
     64//            debugFatal("Unsupported port type!"); 
    6365                return -1; 
    6466        } 
     
    6971int PortManager::deletePort(Port *port) 
    7072{ 
    71       debugOutput( DEBUG_LEVEL_VERBOSE, "enter...\n"); 
     73//    debugOutput( DEBUG_LEVEL_VERBOSE, "enter...\n"); 
    7274        assert(port); 
    73       debugOutput( DEBUG_LEVEL_VERBOSE, "deleting port %s\n",port->getName().c_str()); 
     75//    debugOutput( DEBUG_LEVEL_VERBOSE, "deleting port %s\n",port->getName().c_str()); 
    7476 
    7577    for ( PortVectorIterator it = m_PacketPorts.begin(); 
     
    102104//         } 
    103105//     } 
    104       debugOutput( DEBUG_LEVEL_VERBOSE, " => port not found\n"); 
     106//    debugOutput( DEBUG_LEVEL_VERBOSE, " => port not found\n"); 
    105107 
    106108        return -1; //not found 
  • branches/libfreebob-2.0/src/libstreaming/PortManager.h

    r207 r210  
    5252        void prepare();  
    5353 
    54        void setVerboseLevel(int l) { setDebugLevel( l ); }; 
     54       void setVerboseLevel(int l) { }; 
    5555 
    5656protected: 
     
    5959//      PortVector m_SamplePorts; 
    6060 
    61     DECLARE_DEBUG_MODULE; 
     61//     DECLARE_DEBUG_MODULE; 
    6262 
    6363}; 
  • branches/libfreebob-2.0/src/libstreaming/StreamProcessor.cpp

    r207 r210  
    2929#include "StreamProcessor.h" 
    3030#include "StreamProcessorManager.h" 
     31#include <assert.h> 
    3132 
    3233namespace FreebobStreaming { 
  • branches/libfreebob-2.0/src/libstreaming/StreamProcessorManager.cpp

    r207 r210  
    3030#include "StreamProcessor.h" 
    3131#include <errno.h> 
     32#include <assert.h> 
     33 
    3234 
    3335namespace FreebobStreaming { 
  • branches/libfreebob-2.0/src/libstreaming/StreamRunner.cpp

    r204 r210  
    3030#include "StreamProcessorManager.h" 
    3131#include "IsoHandlerManager.h" 
     32#include <assert.h> 
     33 
    3234 
    3335namespace FreebobStreaming {