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

Method RequestAudioStatus

src/libcec/devices/CECAudioSystem.cpp:140–153  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

138}
139
140bool CCECAudioSystem::RequestAudioStatus(const cec_logical_address initiator, bool bWaitForResponse /* = true */)
141{
142 bool bReturn(false);
143
144 if (!IsHandledByLibCEC() &&
145 !IsUnsupportedFeature(CEC_OPCODE_GIVE_AUDIO_STATUS))
146 {
147 MarkBusy();
148 LIB_CEC->AddLog(CEC_LOG_DEBUG, "<< requesting audio status of '%s' (%X)", GetLogicalAddressName(), m_iLogicalAddress);
149 bReturn = m_handler->TransmitRequestAudioStatus(initiator, m_iLogicalAddress, bWaitForResponse);
150 MarkReady();
151 }
152 return bReturn;
153}
154
155bool CCECAudioSystem::RequestSystemAudioModeStatus(const cec_logical_address initiator, bool bWaitForResponse /* = true */)
156{

Callers

nothing calls this directly

Calls 2

AddLogMethod · 0.45

Tested by

no test coverage detected