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

Function CecAlert

src/cec-client/cec-client.cpp:234–248  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

232 return 0;
233}
234void CecAlert(void *UNUSED(cbParam), const libcec_alert type, const libcec_parameter UNUSED(param))
235{
236 switch (type)
237 {
238 case CEC_ALERT_CONNECTION_LOST:
239 if (!CReconnect::Get().IsRunning())
240 {
241 PrintToStdOut("Connection lost - trying to reconnect\n");
242 CReconnect::Get().CreateThread(false);
243 }
244 break;
245 default:
246 break;
247 }
248}
249
250void ListDevices(ICECAdapter *parser)
251{

Callers

nothing calls this directly

Calls 2

GetFunction · 0.85
PrintToStdOutFunction · 0.85

Tested by

no test coverage detected