| 322 | } |
| 323 | |
| 324 | int CCECCommandHandler::HandleGiveAudioStatus(const cec_command &command) |
| 325 | { |
| 326 | if (m_processor->CECInitialised() && m_processor->IsHandledByLibCEC(command.destination)) |
| 327 | { |
| 328 | CCECAudioSystem *device = CCECBusDevice::AsAudioSystem(GetDevice(command.destination)); |
| 329 | if (device) |
| 330 | { |
| 331 | device->TransmitAudioStatus(command.initiator, true); |
| 332 | return COMMAND_HANDLED; |
| 333 | } |
| 334 | return CEC_ABORT_REASON_INVALID_OPERAND; |
| 335 | } |
| 336 | |
| 337 | return CEC_ABORT_REASON_NOT_IN_CORRECT_MODE_TO_RESPOND; |
| 338 | } |
| 339 | |
| 340 | int CCECCommandHandler::HandleGiveDeckStatus(const cec_command &command) |
| 341 | { |
nothing calls this directly
no test coverage detected