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

Function ProcessCommandEA

src/cec-client/cec-client.cpp:510–521  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

508}
509
510bool ProcessCommandEA(ICECAdapter *parser, const std::string &command, std::string & UNUSED(arguments))
511{
512 if (command == "ea")
513 {
514 if (parser->AudioEnable(true)) {
515 PrintToStdOut("Request System Audio Mode On sent.");
516 return true;
517 }
518 }
519
520 return false;
521}
522
523bool ProcessCommandDA(ICECAdapter *parser, const std::string &command, std::string & UNUSED(arguments))
524{

Callers 1

ProcessConsoleCommandFunction · 0.85

Calls 2

PrintToStdOutFunction · 0.85
AudioEnableMethod · 0.45

Tested by

no test coverage detected