return m_libCec->MuteAudio(wait);
}
- bool TransmitKeypress(CecLogicalAddress destination, CecUserControlCode key, bool wait)
+ bool SendKeypress(CecLogicalAddress destination, CecUserControlCode key, bool wait)
{
- return m_libCec->TransmitKeypress((cec_logical_address)destination, (cec_user_control_code)key, wait);
+ return m_libCec->SendKeypress((cec_logical_address)destination, (cec_user_control_code)key, wait);
}
- bool TransmitKeyRelease(CecLogicalAddress destination, bool wait)
+ bool SendKeyRelease(CecLogicalAddress destination, bool wait)
{
- return m_libCec->TransmitKeyRelease((cec_logical_address)destination, wait);
+ return m_libCec->SendKeyRelease((cec_logical_address)destination, wait);
}
String ^ GetOSDName(CecLogicalAddress logicalAddress)
m_currentframe.ack = msg.ack();
m_currentframe.eom = msg.eom();
}
- if (m_currentframe.ack == true)
+ if (m_currentframe.ack == 0x1)
{
m_lastInitiator = m_currentframe.initiator;
m_busDevices[m_lastInitiator]->GetHandler()->HandlePoll(m_currentframe.initiator, m_currentframe.destination);
cec_command response;
cec_command::Format(response, command.destination, command.initiator, CEC_OPCODE_VENDOR_COMMAND, m_iTransmitTimeout);
response.PushBack(SL_COMMAND_CONNECT_ACCEPT);
- response.PushBack(m_busDevice->GetProcessor()->GetLogicalAddresses().primary);
+ response.PushBack((uint8_t)m_busDevice->GetProcessor()->GetLogicalAddresses().primary);
Transmit(response);
/* set deck status for the playback device */