cec: request the active source if it's unknown in CCECProcessor::GetActiveSource()
[deb_libcec.git] / src / lib / CECProcessor.h
index d5571046202caacc27b158d27af8be09c58cf5a9..9b7a6e3cd463c44a93e6822087b2ed824c5c44a4 100644 (file)
@@ -109,7 +109,7 @@ namespace CEC
       bool                  OnCommandReceived(const cec_command &command);
 
       bool                  IsMonitoring(void) const { return m_bMonitor; }
-      CCECBusDevice *       GetDeviceByPhysicalAddress(uint16_t iPhysicalAddress, bool bRefresh = false, bool bSuppressPoll = false) const;
+      CCECBusDevice *       GetDeviceByPhysicalAddress(uint16_t iPhysicalAddress, bool bSuppressUpdate = true);
       CCECBusDevice *       GetDeviceByType(cec_device_type type) const;
       CCECBusDevice *       GetPrimaryDevice(void) const;
       cec_version           GetDeviceCecVersion(cec_logical_address iAddress);
@@ -127,7 +127,7 @@ namespace CEC
       bool                  IsPresentDeviceType(cec_device_type type);
       uint16_t              GetPhysicalAddress(void) const;
       uint64_t              GetLastTransmission(void) const { return m_iLastTransmission; }
-      cec_logical_address   GetActiveSource(void);
+      cec_logical_address   GetActiveSource(bool bRequestActiveSource = true);
       bool                  IsActiveSource(cec_logical_address iAddress);
       bool                  IsInitialised(void);
       bool                  SetStreamPath(uint16_t iPhysicalAddress);