int BBM_CHANNEL_SELECT(HANDLE hDevice, u8 subChId,u8 svcChId) { int res; res = fc8050_channel_select(hDevice, subChId, svcChId); return res; }
int fc8050_audio_select(HANDLE hDevice, fci_u8 subChId,fci_u8 svcChId) { if(fc8050_channel_select(hDevice, subChId,svcChId) != BBM_OK) { return BBM_NOK; } bbm_write(hDevice, BBM_BUF_CH0_SUBCH+svcChId, 0x40 | subChId); return BBM_OK; }
int bbm_com_channel_select( HANDLE hDevice, u8 subchannel_id, u8 service_channel_id) { int res; res = fc8050_channel_select(hDevice, subchannel_id, service_channel_id); return res; }
int fc8050_video_select(HANDLE hDevice, u8 subChId,u8 svcChId, u8 cdiId) { if(fc8050_channel_select(hDevice, subChId,svcChId) != BBM_OK) { return BBM_NOK; } bbm_write(hDevice, BBM_CDI0_SUBCH_EN+cdiId, 0x40 | subChId); bbm_write(hDevice, BBM_BUF_CH0_SUBCH+svcChId, 0x40 | subChId); return BBM_OK; }