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

Method HandleStandby

src/libcec/implementations/CECCommandHandler.cpp:706–713  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

704}
705
706int CCECCommandHandler::HandleStandby(const cec_command &command)
707{
708 CCECBusDevice *device = GetDevice(command.initiator);
709 if (device)
710 device->SetPowerStatus(CEC_POWER_STATUS_STANDBY);
711
712 return COMMAND_HANDLED;
713}
714
715int CCECCommandHandler::HandleSystemAudioModeStatus(const cec_command &command)
716{

Callers

nothing calls this directly

Calls 1

SetPowerStatusMethod · 0.80

Tested by

no test coverage detected