| 416 | } |
| 417 | |
| 418 | int CCECCommandHandler::HandleGiveMenuLanguage(const cec_command &command) |
| 419 | { |
| 420 | if (m_processor->CECInitialised() && m_processor->IsHandledByLibCEC(command.destination)) |
| 421 | { |
| 422 | CCECBusDevice *device = GetDevice(command.destination); |
| 423 | if (device) |
| 424 | { |
| 425 | device->TransmitSetMenuLanguage(command.initiator, true); |
| 426 | return COMMAND_HANDLED; |
| 427 | } |
| 428 | return CEC_ABORT_REASON_INVALID_OPERAND; |
| 429 | } |
| 430 | |
| 431 | return CEC_ABORT_REASON_NOT_IN_CORRECT_MODE_TO_RESPOND; |
| 432 | } |
| 433 | |
| 434 | int CCECCommandHandler::HandleGiveSystemAudioModeStatus(const cec_command &command) |
| 435 | { |
nothing calls this directly
no test coverage detected