| 306 | } |
| 307 | |
| 308 | int CCECCommandHandler::HandleGetCecVersion(const cec_command &command) |
| 309 | { |
| 310 | if (m_processor->CECInitialised() && m_processor->IsHandledByLibCEC(command.destination)) |
| 311 | { |
| 312 | CCECBusDevice *device = GetDevice(command.destination); |
| 313 | if (device) |
| 314 | { |
| 315 | device->TransmitCECVersion(command.initiator, true); |
| 316 | return COMMAND_HANDLED; |
| 317 | } |
| 318 | return CEC_ABORT_REASON_INVALID_OPERAND; |
| 319 | } |
| 320 | |
| 321 | return CEC_ABORT_REASON_NOT_IN_CORRECT_MODE_TO_RESPOND; |
| 322 | } |
| 323 | |
| 324 | int CCECCommandHandler::HandleGiveAudioStatus(const cec_command &command) |
| 325 | { |
nothing calls this directly
no test coverage detected