| 244 | } |
| 245 | |
| 246 | void 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 | |
| 255 | bool CCECProcessor::OnCommandReceived(const cec_command &command) |
| 256 | { |