X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;ds=sidebyside;f=src%2Flib%2FLibCECC.cpp;h=fdcc9e7a57bc0dcf4c2f239449272f93e2d47522;hb=2dbd78f8f765f83e98190c01a123c569aea7c5b6;hp=6c8d141c85ba5274ceca6450b52633b6a785a760;hpb=d2f1c15733e3f6f2c8a17abfd3c6612ea93ce734;p=deb_libcec.git diff --git a/src/lib/LibCECC.cpp b/src/lib/LibCECC.cpp index 6c8d141..fdcc9e7 100644 --- a/src/lib/LibCECC.cpp +++ b/src/lib/LibCECC.cpp @@ -319,4 +319,9 @@ cec_osd_name cec_get_osd_name(cec_logical_address iAddress) return retVal; } +int cec_enable_physical_address_detection(void) +{ + return cec_parser ? (cec_parser->EnablePhysicalAddressDetection() ? 1 : 0) : -1; +} + //@}