- Timestamp:
- 11/23/04 14:51:35 (19 years ago)
- Files:
-
- trunk/freebob/src/ieee1394service.cpp (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/freebob/src/ieee1394service.cpp
r18 r19 141 141 // XXX 142 142 // create avcDevice which discovers itself :) 143 143 144 144 // PP: just a static try, don't want to mess with the device manager yet... 145 145 // Remark: the AvDevice and AvDescriptor aren't debugged thouroughly yet! 146 146 // the following code is the only debug I had time for... to be continued! (later this week) 147 148 debugPrint (DEBUG_LEVEL_INFO, " Trying to create an AvDevice...\n" ,"");147 148 debugPrint (DEBUG_LEVEL_INFO, " Trying to create an AvDevice...\n"); 149 149 AvDevice *test=new AvDevice(m_iPort, iNodeId); 150 debugPrint (DEBUG_LEVEL_INFO, " Created...\n" ,"");150 debugPrint (DEBUG_LEVEL_INFO, " Created...\n"); 151 151 test->Initialize(); 152 152 if (test->isInitialised()) { 153 debugPrint (DEBUG_LEVEL_INFO, " Init successfull...\n" ,"");154 debugPrint (DEBUG_LEVEL_INFO, " Trying to create an AvDescriptor...\n" ,"");153 debugPrint (DEBUG_LEVEL_INFO, " Init successfull...\n"); 154 debugPrint (DEBUG_LEVEL_INFO, " Trying to create an AvDescriptor...\n"); 155 155 AvDescriptor *testdesc=new AvDescriptor(test,AVC1394_SUBUNIT_TYPE_MUSIC | AVC1394_SUBUNIT_ID_0,0x00); 156 debugPrint (DEBUG_LEVEL_INFO, " Created...\n" ,"");157 debugPrint (DEBUG_LEVEL_INFO, " Opening...\n" ,"");156 debugPrint (DEBUG_LEVEL_INFO, " Created...\n"); 157 debugPrint (DEBUG_LEVEL_INFO, " Opening...\n"); 158 158 testdesc->OpenReadOnly(); 159 159 160 161 debugPrint (DEBUG_LEVEL_INFO, " Closing...\n" ,"");160 161 debugPrint (DEBUG_LEVEL_INFO, " Closing...\n"); 162 162 testdesc->Close(); 163 164 debugPrint (DEBUG_LEVEL_INFO, " Deleting AvDescriptor...\n" ,"");163 164 debugPrint (DEBUG_LEVEL_INFO, " Deleting AvDescriptor...\n"); 165 165 delete testdesc; 166 166 167 167 } 168 debugPrint (DEBUG_LEVEL_INFO, " Deleting AvDevice...\n" ,"");168 debugPrint (DEBUG_LEVEL_INFO, " Deleting AvDevice...\n"); 169 169 delete test; 170 170 171 171 } 172 172 break;