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)
cec_command command;
cec_command::Format(command, m_iLogicalAddress, dest, CEC_OPCODE_SET_SYSTEM_AUDIO_MODE);
- command.parameters.PushBack(m_systemAudioStatus);
+ command.parameters.PushBack((uint8_t)m_systemAudioStatus);
return m_processor->Transmit(command);
}