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

Method TransmitInactiveSource

src/libcec/implementations/CECCommandHandler.cpp:1051–1059  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1049}
1050
1051bool CCECCommandHandler::TransmitInactiveSource(const cec_logical_address iInitiator, uint16_t iPhysicalAddress)
1052{
1053 cec_command command;
1054 cec_command::Format(command, iInitiator, CECDEVICE_TV, CEC_OPCODE_INACTIVE_SOURCE);
1055 command.parameters.PushBack((iPhysicalAddress >> 8) & 0xFF);
1056 command.parameters.PushBack(iPhysicalAddress & 0xFF);
1057
1058 return Transmit(command, false, false);
1059}
1060
1061bool CCECCommandHandler::TransmitMenuState(const cec_logical_address iInitiator, const cec_logical_address iDestination, cec_menu_state menuState, bool bIsReply)
1062{

Callers 1

Calls 1

PushBackMethod · 0.45

Tested by

no test coverage detected