Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion ds/hdmiIn.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -248,10 +248,11 @@ bool HdmiInput::isPortConnected(int8_t Port) const
void HdmiInput::selectPort (int8_t Port,bool requestAudioMix, int videoPlaneType,bool topMost) const
{
dsError_t eError = dsHdmiInSelectPort ((dsHdmiInPort_t)Port, requestAudioMix ,(dsVideoPlaneType_t)videoPlaneType,topMost);

INT_ERROR("HdmiInput::selectPort : dsHdmiInSelectPort result eError = %d", eError);
// Throw an exception if there was an error
if (dsERR_NONE != eError)
{
INT_ERROR("HdmiInput::selectPort : Exception occurred eError = %d", eError);
Comment on lines 250 to +255
throw Exception(eError);
}

Expand Down
3 changes: 2 additions & 1 deletion rpc/cli/dsHdmiIn.c
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,8 @@ dsError_t dsHdmiInSelectPort (dsHdmiInPort_t ePort, bool audioMix,dsVideoPlaneTy
(char *)IARM_BUS_DSMGR_API_dsHdmiInSelectPort,
(void *)&param,
sizeof(param));


printf("%s:%d - rpcRet=%d\n", __FUNCTION__, __LINE__, rpcRet);
if (IARM_RESULT_SUCCESS == rpcRet)
{
printf("%s:%d - %d\n", __PRETTY_FUNCTION__,__LINE__, param.result);
Expand Down
6 changes: 4 additions & 2 deletions rpc/srv/dsHdmiIn.c
Original file line number Diff line number Diff line change
Expand Up @@ -852,17 +852,19 @@ IARM_Result_t _dsHdmiInSelectPort(void *arg)

if (PROFILE_TV == profileType)
{
INT_INFO("[%d][%s]: its TV Profile\r\n", __LINE__, __FUNCTION__);
param->result = dsHdmiInSelectPort(param->port,param->requestAudioMix, param->videoPlaneType,param->topMostPlane);
INT_ERROR("[%d][%s]: its TV Profile, dsHdmiInSelectPort param->result = %d \r\n", __LINE__, __FUNCTION__, param->result);
Comment on lines 855 to +856
}
else
{
INT_INFO("[%d][%s]: its Other Profile\r\n", __LINE__, __FUNCTION__);
INT_ERROR("[%d][%s]: its Other Profile, param result is ERR_General\r\n", __LINE__, __FUNCTION__);
param->result = dsERR_GENERAL;
Comment on lines 859 to 861
}

IARM_BUS_Unlock(lock);

INT_ERROR("returning IARM_RESULT_SUCCESS in _dsHdmiInSelectPort");

return IARM_RESULT_SUCCESS;
}

Expand Down
Loading