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

Method SystemAudioModeStatus

src/libcec/CECClient.cpp:828–833  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

826}
827
828uint8_t CCECClient::SystemAudioModeStatus(void)
829{
830 CCECBusDevice *device = GetPrimaryDevice();
831 CCECAudioSystem *audio = m_processor->GetAudioSystem();
832 return device && audio && audio->IsPresent() ? audio->GetSystemAudioModeStatus(device->GetLogicalAddress()) : (uint8_t)CEC_SYSTEM_AUDIO_STATUS_UNKNOWN;
833}
834
835bool CCECClient::SendKeypress(const cec_logical_address iDestination, const cec_user_control_code key, bool bWait /* = true */)
836{

Callers

nothing calls this directly

Calls 4

GetAudioSystemMethod · 0.80
IsPresentMethod · 0.80
GetLogicalAddressMethod · 0.45

Tested by

no test coverage detected