Changeset 714 for branches/ppalmers-streaming/src/libstreaming/amdtp/AmdtpTransmitStreamProcessor.cpp
- Timestamp:
- 11/11/07 09:50:28 (16 years ago)
- Files:
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
branches/ppalmers-streaming/src/libstreaming/amdtp/AmdtpTransmitStreamProcessor.cpp
r712 r714 41 41 /* transmit */ 42 42 AmdtpTransmitStreamProcessor::AmdtpTransmitStreamProcessor(int port, int framerate, int dimension) 43 : TransmitStreamProcessor(port, framerate), m_dimension(dimension) 44 , m_last_timestamp(0), m_dbc(0), m_ringbuffer_size_frames(0) 43 : StreamProcessor(ePT_Transmit, port, framerate) 44 , m_dimension(dimension) 45 , m_last_timestamp(0) 46 , m_dbc(0) 47 , m_ringbuffer_size_frames(0) 45 48 {} 46 49 … … 50 53 bool AmdtpTransmitStreamProcessor::init() { 51 54 52 debugOutput( DEBUG_LEVEL_VERBOSE, "Initializing (%p)...\n" );55 debugOutput( DEBUG_LEVEL_VERBOSE, "Initializing (%p)...\n", this); 53 56 // call the parent init 54 57 // this has to be done before allocating the buffers, 55 58 // because this sets the buffersizes from the processormanager 56 if(! TransmitStreamProcessor::init()) {59 if(!StreamProcessor::init()) { 57 60 debugFatal("Could not do base class init (%p)\n",this); 58 61 return false; … … 415 418 // reset all non-device specific stuff 416 419 // i.e. the iso stream and the associated ports 417 if(! TransmitStreamProcessor::reset()) {420 if(!StreamProcessor::reset()) { 418 421 debugFatal("Could not do base class reset\n"); 419 422 return false; … … 438 441 // prepare all non-device specific stuff 439 442 // i.e. the iso stream and the associated ports 440 if(! TransmitStreamProcessor::prepare()) {443 if(!StreamProcessor::prepare()) { 441 444 debugFatal("Could not prepare base class\n"); 442 445 return false;