X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=src%2Flib%2FLibCECC.cpp;h=3711686e3685e56f907699e1c974f14fde0bf177;hb=f42d3e0fb1f63456b87232019d9cce731acad640;hp=edc30d234223b160212b38078bc27f2ed4052db9;hpb=e9654a0e343790159462527352a50f584590d062;p=deb_libcec.git diff --git a/src/lib/LibCECC.cpp b/src/lib/LibCECC.cpp index edc30d2..3711686 100644 --- a/src/lib/LibCECC.cpp +++ b/src/lib/LibCECC.cpp @@ -371,4 +371,14 @@ int cec_enable_physical_address_detection(void) return cec_parser ? (cec_parser->EnablePhysicalAddressDetection() ? 1 : 0) : -1; } +int cec_set_stream_path_logical(CEC::cec_logical_address iAddress) +{ + return cec_parser ? (cec_parser->SetStreamPath(iAddress) ? 1 : 0) : -1; +} + +int cec_set_stream_path_physical(uint16_t iPhysicalAddress) +{ + return cec_parser ? (cec_parser->SetStreamPath(iPhysicalAddress) ? 1 : 0) : -1; +} + //@}