X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=include%2Fcecc.h;h=c069b140dbd75da2d65d9fbec2f6c5d8c44e581e;hb=cd505625984870e36f98323209d3c2d7273e3266;hp=c319c196da7ab33bcda88d576f4867a12d8ab0a8;hpb=1969b1409b16be8b82f89e87d94daf527f9d5969;p=deb_libcec.git diff --git a/include/cecc.h b/include/cecc.h index c319c19..c069b14 100644 --- a/include/cecc.h +++ b/include/cecc.h @@ -175,13 +175,12 @@ extern DECLSPEC int cec_get_next_command(cec_command *command); /*! * @brief Transmit a frame on the CEC line. * @param data The frame to send. - * @param bWaitForAck Wait for an ACK message for 1 second after this frame has been sent. * @return True when the data was sent and acked, false otherwise. */ #ifdef __cplusplus -extern DECLSPEC int cec_transmit(const CEC::cec_command &data, int bWaitForAck = 1); +extern DECLSPEC int cec_transmit(const CEC::cec_command &data); #else -extern DECLSPEC int cec_transmit(const cec_command &data, int bWaitForAck = 1); +extern DECLSPEC int cec_transmit(const cec_command &data); #endif /*! @@ -213,6 +212,8 @@ extern DECLSPEC int cec_set_osd_string(CEC::cec_logical_address iLogicalAddress, extern DECLSPEC int cec_set_osd_string(cec_logical_address iLogicalAddress, cec_display_control duration, const char *strMessage); #endif +extern DECLSPEC int cec_switch_monitoring(int bEnable); + #ifdef __cplusplus }; #endif