Changeset 1727
- Timestamp:
- 11/23/09 13:38:45 (13 years ago)
- Files:
-
- trunk/libffado/src/dice/dice_avdevice.cpp (modified) (2 diffs)
- trunk/libffado/src/dice/dice_avdevice.h (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/libffado/src/dice/dice_avdevice.cpp
r1712 r1727 164 164 bool supports_eap = Device::EAP::supportsEAP(*this); 165 165 if (supports_eap) { // FIXME: move to buildMixer() ?? 166 m_eap = new Device::EAP(*this);166 m_eap = createEAP(); 167 167 if(m_eap == NULL) { 168 168 debugError("Failed to allocate EAP.\n"); … … 182 182 } 183 183 return true; 184 } 185 186 Device::EAP* 187 Device::createEAP() { 188 return new Device::EAP(*this); 184 189 } 185 190 trunk/libffado/src/dice/dice_avdevice.h
r1719 r1727 549 549 private: 550 550 EAP* m_eap; 551 protected: 552 virtual EAP* createEAP(); 551 553 public: 552 554 EAP* getEAP() {return m_eap;};