Changeset 583 for trunk/libffado/src/genericavc
- Timestamp:
- 08/29/07 02:19:04 (15 years ago)
- Files:
-
- trunk/libffado/src/genericavc/avc_avdevice.cpp (modified) (2 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
r560 r583 56 56 }; 57 57 58 AvDevice::AvDevice( std::auto_ptr< ConfigRom >( configRom ), 59 Ieee1394Service& ieee1394service, 60 int nodeId ) 61 : FFADODevice( configRom, ieee1394service, nodeId ) 58 AvDevice::AvDevice( Ieee1394Service& ieee1394Service, 59 std::auto_ptr<ConfigRom>( configRom )) 60 : FFADODevice( ieee1394Service, configRom ) 62 61 , m_model( NULL ) 63 62 64 63 { 65 64 debugOutput( DEBUG_LEVEL_VERBOSE, "Created GenericAVC::AvDevice (NodeID %d)\n", 66 nodeId);65 configRom->getNodeId() ); 67 66 addOption(Util::OptionContainer::Option("snoopMode",false)); 68 67 } … … 92 91 93 92 return false; 93 } 94 95 FFADODevice * 96 AvDevice::createDevice( Ieee1394Service& ieee1394Service, 97 std::auto_ptr<ConfigRom>( configRom )) 98 { 99 return new AvDevice(ieee1394Service, configRom ); 94 100 } 95 101 trunk/libffado/src/genericavc/avc_avdevice.h
r557 r583 47 47 class AvDevice : public FFADODevice, public AVC::Unit { 48 48 public: 49 AvDevice( std::auto_ptr<ConfigRom>( configRom ), 50 Ieee1394Service& ieee1394Service, 51 int nodeId ); 49 AvDevice( Ieee1394Service& ieee1394Service, 50 std::auto_ptr<ConfigRom>( configRom )); 52 51 virtual ~AvDevice(); 53 52 54 53 static bool probe( ConfigRom& configRom ); 55 54 virtual bool discover(); 55 static FFADODevice * createDevice( Ieee1394Service& ieee1394Service, 56 std::auto_ptr<ConfigRom>( configRom )); 56 57 57 58 virtual void setVerboseLevel(int l);