X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=include%2Fcecc.h;h=0aca0b7683a811efe671e72293656a4c77c529fc;hb=b1bd94283cef75676b987f30d61f26fad09c19c3;hp=5241e7391cd2e6ebe49a2953a59876ac20703e74;hpb=2d4e263cf51412a7c7195e80290b972ad567e0ed;p=deb_libcec.git diff --git a/include/cecc.h b/include/cecc.h index 5241e73..0aca0b7 100644 --- a/include/cecc.h +++ b/include/cecc.h @@ -2,7 +2,7 @@ /* * This file is part of the libCEC(R) library. * - * libCEC(R) is Copyright (C) 2011-2012 Pulse-Eight Limited. All rights reserved. + * libCEC(R) is Copyright (C) 2011-2013 Pulse-Eight Limited. All rights reserved. * libCEC(R) is an original work, containing original code. * * libCEC(R) is a trademark of Pulse-Eight Limited. @@ -272,6 +272,24 @@ extern DECLSPEC const char * cec_get_lib_info(void); extern DECLSPEC void cec_init_video_standalone(void); +extern DECLSPEC uint16_t cec_get_adapter_vendor_id(void); + +extern DECLSPEC uint16_t cec_get_adapter_product_id(void); + +extern DECLSPEC uint8_t cec_audio_toggle_mute(void); + +extern DECLSPEC uint8_t cec_audio_mute(void); + +extern DECLSPEC uint8_t cec_audio_unmute(void); + +extern DECLSPEC uint8_t cec_audio_get_status(void); + +#ifdef __cplusplus +extern DECLSPEC int8_t cec_detect_adapters(CEC::cec_adapter_descriptor *deviceList, uint8_t iBufSize, const char *strDevicePath, int bQuickScan); +#else +extern DECLSPEC int8_t cec_detect_adapters(cec_adapter_descriptor *deviceList, uint8_t iBufSize, const char *strDevicePath, int bQuickScan); +#endif + #ifdef __cplusplus }; #endif