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

Method ChangeDeviceType

src/libcec/CECProcessor.cpp:246–253  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

244}
245
246void CCECProcessor::ChangeDeviceType(CECClientPtr client, cec_device_type from, cec_device_type to)
247{
248 CLockObject lock(m_mutex);
249 if (!CECInitialised())
250 return;
251 device_type_change_t change = { client, from, to };
252 m_deviceTypeChanges.push_back(change);
253}
254
255bool CCECProcessor::OnCommandReceived(const cec_command &command)
256{

Callers 1

ReplaceHandlersMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected