Changeset 1787
- Timestamp:
- 01/06/10 09:16:22 (14 years ago)
- Files:
-
- trunk/libffado/src/dice/dice_avdevice.cpp (modified) (1 diff)
- trunk/libffado/src/dice/dice_eap.cpp (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/libffado/src/dice/dice_avdevice.cpp
r1772 r1787 168 168 } 169 169 if(!m_eap->init()) { 170 debug Error("Could not init EAP\n");170 debugWarning("Could not init EAP\n"); 171 171 delete m_eap; 172 172 m_eap = NULL; 173 return false;174 }175 // register the EAP controls to the control structure176 if(!addElement(m_eap)) {177 debugError("Failed to add the EAP controls to the control tree\n");178 return false;173 } else { 174 // register the EAP controls to the control structure 175 if(!addElement(m_eap)) { 176 debugError("Failed to add the EAP controls to the control tree\n"); 177 return false; 178 } 179 179 } 180 180 return true; trunk/libffado/src/dice/dice_eap.cpp
r1780 r1787 110 110 EAP::init() { 111 111 if(!supportsEAP(m_device)) { 112 debugError("Device does not support EAP ");112 debugError("Device does not support EAP\n"); 113 113 return false; 114 114 } … … 1544 1544 EAP::PeakSpace::show() 1545 1545 { 1546 printMessage(" % i peaks\n", m_peaks.size());1546 printMessage(" %zi peaks\n", m_peaks.size()); 1547 1547 for (std::map<unsigned char, int>::iterator it=m_peaks.begin(); it!=m_peaks.end(); ++it) { 1548 1548 printMessage("0x%02x : %i\n", it->first, it->second);