MCPcopy Create free account
hub / github.com/Pulse-Eight/libcec / GetActiveSource

Method GetActiveSource

src/libcec/devices/CECDeviceMap.cpp:219–227  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

217}
218
219CCECBusDevice *CCECDeviceMap::GetActiveSource(void) const
220{
221 for (CECDEVICEMAP::const_iterator it = m_busDevices.begin(); it != m_busDevices.end(); it++)
222 {
223 if (it->second->IsActiveSource())
224 return it->second;
225 }
226 return NULL;
227}
228
229void CCECDeviceMap::ResetActiveSourceSent(void)
230{

Callers

nothing calls this directly

Calls 1

IsActiveSourceMethod · 0.45

Tested by

no test coverage detected