return m_libCec->IsActiveDeviceType((cec_device_type)type);
}
- bool SetHDMIPort(uint8_t port)
+ bool SetHDMIPort(CecLogicalAddress address, uint8_t port)
{
- return m_libCec->SetHDMIPort(port);
+ return m_libCec->SetHDMIPort((cec_logical_address)address, port);
}
uint8_t VolumeUp(bool wait)
return gcnew String(osd.name);
}
+ CecLogicalAddress GetActiveSource()
+ {
+ return (CecLogicalAddress)m_libCec->GetActiveSource();
+ }
+
+ bool IsActiveSource(CecLogicalAddress logicalAddress)
+ {
+ return m_libCec->IsActiveSource((cec_logical_address)logicalAddress);
+ }
+
private:
ICECAdapter *m_libCec;
};