Get the logical address of the device that is currently the active source on the CEC bus. The active source or CECDEVICE_UNKNOWN when unknown.
| 522 | /// </summary> |
| 523 | /// <returns>The active source or CECDEVICE_UNKNOWN when unknown.</returns> |
| 524 | CecLogicalAddress GetActiveSource() |
| 525 | { |
| 526 | if (!m_libCec) { |
| 527 | return CecLogicalAddress::Unknown; |
| 528 | } |
| 529 | return (CecLogicalAddress)m_libCec->GetActiveSource(); |
| 530 | } |
| 531 | |
| 532 | /// <summary> |
| 533 | /// Check whether a device is currently the active source on the CEC bus. |
no test coverage detected