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

Method SetSystemAudioModeStatus

src/libcec/devices/CECAudioSystem.cpp:71–82  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

69}
70
71bool CCECAudioSystem::SetSystemAudioModeStatus(const cec_system_audio_status mode)
72{
73 CLockObject lock(m_mutex);
74 if (m_systemAudioModeStatus != mode)
75 {
76 LIB_CEC->AddLog(CEC_LOG_DEBUG, ">> %s (%X): system audio mode changed from %s to %s", GetLogicalAddressName(), m_iLogicalAddress, ToString((cec_system_audio_status)m_systemAudioModeStatus), ToString(mode));
77 m_systemAudioModeStatus = mode;
78 return true;
79 }
80
81 return false;
82}
83
84bool CCECAudioSystem::TransmitAudioStatus(cec_logical_address dest, bool bIsReply)
85{

Calls 2

ToStringFunction · 0.85
AddLogMethod · 0.45

Tested by

no test coverage detected