X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=src%2Flib%2Fdevices%2FCECTuner.cpp;h=2de4a1fb185e21292e3599043c1ff54c3926f935;hb=0b83551352338fb45b285c44d6baccd867f05b6d;hp=b5de867d9e8a968fe4aeb644ce572ac5ca2330c5;hpb=d749efb2d01817c0a8ad8b32a1b9861c5a78c83d;p=deb_libcec.git diff --git a/src/lib/devices/CECTuner.cpp b/src/lib/devices/CECTuner.cpp index b5de867..2de4a1f 100644 --- a/src/lib/devices/CECTuner.cpp +++ b/src/lib/devices/CECTuner.cpp @@ -30,12 +30,20 @@ * http://www.pulse-eight.net/ */ +#include "env.h" #include "CECTuner.h" using namespace CEC; +using namespace PLATFORM; -CCECTuner::CCECTuner(CCECProcessor *processor, cec_logical_address address, uint16_t iPhysicalAddress /* = 0 */) : +CCECTuner::CCECTuner(CCECProcessor *processor, cec_logical_address address, uint16_t iPhysicalAddress /* = CEC_INVALID_PHYSICAL_ADDRESS */) : CCECBusDevice(processor, address, iPhysicalAddress) { - m_type = CEC_DEVICE_TYPE_TUNER; + m_type = CEC_DEVICE_TYPE_TUNER; +} + +void CCECTuner::ResetDeviceStatus(void) +{ + CLockObject lock(m_mutex); + CCECBusDevice::ResetDeviceStatus(); }