bool CCECCommandHandler::HandleImageViewOn(const cec_command &command)
{
- m_processor->SetActiveSource(command.initiator);
+ m_processor->SetStreamPath(m_processor->m_busDevices[command.initiator]->GetPhysicalAddress(false));
return true;
}
uint16_t iNewAddress = ((uint16_t)command.parameters[0] << 8) | ((uint16_t)command.parameters[1]);
CCECBusDevice *newActiveDevice = GetDeviceByPhysicalAddress(iNewAddress);
if (newActiveDevice)
- m_processor->SetActiveSource(newActiveDevice->GetLogicalAddress());
+ m_processor->SetStreamPath(newActiveDevice->GetPhysicalAddress(false));
return ((CCECAudioSystem *) device)->TransmitSetSystemAudioMode(command.initiator);
}
else
bool CCECCommandHandler::HandleTextViewOn(const cec_command &command)
{
- m_processor->SetActiveSource(command.initiator);
+ m_processor->SetStreamPath(m_processor->m_busDevices[command.initiator]->GetPhysicalAddress(false));
return true;
}