X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=src%2Flib%2Fadapter%2FCuBox%2FNxpCECAdapterCommunication.h;h=066c03248cf4d5c0407807121a68c30eeebf1350;hb=51b611bcf0c25eb55d3097ba5122e3549d578a17;hp=9a06e16780a0b6a15b96b9367d3c9f1c32d0f8bc;hpb=4d3a75622545306c7a5d24789d2239ed2560703f;p=deb_libcec.git diff --git a/src/lib/adapter/CuBox/NxpCECAdapterCommunication.h b/src/lib/adapter/CuBox/NxpCECAdapterCommunication.h index 9a06e16..066c032 100644 --- a/src/lib/adapter/CuBox/NxpCECAdapterCommunication.h +++ b/src/lib/adapter/CuBox/NxpCECAdapterCommunication.h @@ -31,7 +31,7 @@ * http://www.pulse-eight.net/ */ -#if defined(HAVE_NXP_API) +#if defined(HAVE_TDA995X_API) #include "lib/platform/threads/mutex.h" #include "lib/platform/threads/threads.h" @@ -57,7 +57,7 @@ namespace CEC * @brief Create a new USB-CEC communication handler. * @param callback The callback to use for incoming CEC commands. */ - CNxpCECAdapterCommunication(IAdapterCommunicationCallback *callback, const char *device); + CNxpCECAdapterCommunication(IAdapterCommunicationCallback *callback); virtual ~CNxpCECAdapterCommunication(void); /** @name IAdapterCommunication implementation */ @@ -83,7 +83,7 @@ namespace CEC bool SetControlledMode(bool UNUSED(controlled)) { return true; } cec_vendor_id GetVendorId(void); bool SupportsSourceLogicalAddress(const cec_logical_address address) { return address > CECDEVICE_TV && address <= CECDEVICE_BROADCAST; } - cec_adapter_type GetAdapterType(void) { return ADAPTERTYPE_NXP; } + cec_adapter_type GetAdapterType(void) { return ADAPTERTYPE_TDA995x; } void HandleLogicalAddressLost(cec_logical_address oldAddress); ///} @@ -101,7 +101,7 @@ namespace CEC cec_logical_addresses m_logicalAddresses; PLATFORM::CMutex m_mutex; - PLATFORM::CCDevSocket *m_dev; /**< the device connection */ + PLATFORM::CCDevSocket *m_dev; /**< the device connection */ PLATFORM::CMutex m_messageMutex; uint32_t m_iNextMessage;