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

Method TransmitOSDName

src/libcec/implementations/CECCommandHandler.cpp:1070–1078  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1068}
1069
1070bool CCECCommandHandler::TransmitOSDName(const cec_logical_address iInitiator, const cec_logical_address iDestination, std::string strDeviceName, bool bIsReply)
1071{
1072 cec_command command;
1073 cec_command::Format(command, iInitiator, iDestination, CEC_OPCODE_SET_OSD_NAME);
1074 for (size_t iPtr = 0; iPtr < strDeviceName.length(); iPtr++)
1075 command.parameters.PushBack(strDeviceName.at(iPtr));
1076
1077 return Transmit(command, false, bIsReply);
1078}
1079
1080bool CCECCommandHandler::TransmitOSDString(const cec_logical_address iInitiator, const cec_logical_address iDestination, cec_display_control duration, const char *strMessage, bool bIsReply)
1081{

Callers 1

HandleGiveOSDNameMethod · 0.45

Calls 1

PushBackMethod · 0.45

Tested by

no test coverage detected