Changeset 734 for trunk/libffado/src/genericavc
- Timestamp:
- 11/28/07 05:03:31 (15 years ago)
- Files:
-
- trunk/libffado/src/genericavc/avc_avdevice.cpp (modified) (4 diffs)
- trunk/libffado/src/genericavc/avc_avdevice.h (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/libffado/src/genericavc/avc_avdevice.cpp
r716 r734 236 236 bool found=false; 237 237 for ( PlugVector::const_iterator it2 = syncMSUInputPlugs.begin(); 238 239 238 it2 != syncMSUInputPlugs.end(); 239 ++it2 ) 240 240 { 241 241 AVC::Plug* msuPlug = *it2; … … 422 422 } 423 423 424 int samplerate=outputPlug->getSampleRate();425 426 424 debugOutput( DEBUG_LEVEL_VERBOSE, "Initializing receive processor...\n"); 427 425 // create & add streamprocessors 428 426 Streaming::StreamProcessor *p; 429 427 428 if ( outputPlug->getNrOfChannels() == 0 ) { 429 debugError("Receive plug has no channels\n"); 430 return false; 431 } 430 432 p=new Streaming::AmdtpReceiveStreamProcessor( 431 433 get1394Service().getPort(), 432 samplerate,433 434 outputPlug->getNrOfChannels()); 434 435 … … 455 456 p=new Streaming::AmdtpReceiveStreamProcessor( 456 457 get1394Service().getPort(), 457 samplerate,458 458 inputPlug->getNrOfChannels()); 459 459 } else { 460 460 p=new Streaming::AmdtpTransmitStreamProcessor( 461 461 get1394Service().getPort(), 462 samplerate,463 462 inputPlug->getNrOfChannels()); 464 463 } … … 596 595 AvDevice::getStreamCount() { 597 596 return m_receiveProcessors.size() + m_transmitProcessors.size(); 597 //return 1; 598 598 } 599 599 trunk/libffado/src/genericavc/avc_avdevice.h
r639 r734 34 34 #include "libavc/general/avc_plug.h" 35 35 36 #include "libstreaming/AmdtpStreamProcessor.h" 37 #include "libstreaming/AmdtpPort.h" 38 #include "libstreaming/AmdtpPortInfo.h" 36 #include "libstreaming/amdtp/AmdtpReceiveStreamProcessor.h" 37 #include "libstreaming/amdtp/AmdtpTransmitStreamProcessor.h" 38 #include "libstreaming/amdtp/AmdtpPort.h" 39 #include "libstreaming/amdtp/AmdtpPortInfo.h" 39 40 40 41 #include "debugmodule/debugmodule.h"