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

Function GetDevicePhysicalAddress

src/dotnetlib/LibCecSharp.cpp:547–553  ·  view source on GitHub ↗

Get the physical address of the device with the given logical address. The logical address of the device to get the physical address for. The physical address or 0 if it wasn't found.

Source from the content-addressed store, hash-verified

545 /// <param name="address">The logical address of the device to get the physical address for.</param>
546 /// <returns>The physical address or 0 if it wasn't found.</returns>
547 uint16_t GetDevicePhysicalAddress(CecLogicalAddress address)
548 {
549 if (!m_libCec) {
550 return 0xFFFF;
551 }
552 return m_libCec->GetDevicePhysicalAddress((cec_logical_address)address);
553 }
554
555 /// <summary>
556 /// Sets the stream path to the device on the given logical address.

Callers 1

SetStreamPathMethod · 0.85

Calls 1

Tested by

no test coverage detected