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

Method CallbackCommandHandler

src/libcec/CECClient.cpp:1803–1812  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1801}
1802
1803int CCECClient::CallbackCommandHandler(const cec_command &command)
1804{
1805 CLockObject lock(m_cbMutex);
1806 if (!!m_configuration.callbacks &&
1807 !!m_configuration.callbacks->commandHandler)
1808 {
1809 return m_configuration.callbacks->commandHandler(m_configuration.callbackParam, &command);
1810 }
1811 return 0;
1812}
1813
1814bool CCECClient::AudioEnable(bool enable)
1815{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected