X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=src%2Flib%2FLibCECC.cpp;h=79157658df088d7231b6a0e4ad838bea45746f6c;hb=8b7e5ff605864004b8a66520202bf05aecb4fc6c;hp=d062dff9357f39ccdd76b6156eee1663a3ac58f2;hpb=96e09b103a541b1e64071c920f7c72ec44f5c6e6;p=deb_libcec.git diff --git a/src/lib/LibCECC.cpp b/src/lib/LibCECC.cpp index d062dff..7915765 100644 --- a/src/lib/LibCECC.cpp +++ b/src/lib/LibCECC.cpp @@ -180,4 +180,11 @@ int cec_set_osd_string(cec_logical_address iLogicalAddress, cec_display_control return -1; } +int cec_switch_monitoring(int bEnable) +{ + if (cec_parser) + return cec_parser->SwitchMonitoring(bEnable == 1) ? 1 : 0; + return -1; +} + //@}