- Timestamp:
- Feb 17, 2009 3:19:45 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/branches/projects/aps-direct/pjmedia/src/pjmedia/conf_switch.c
r2456 r2457 589 589 590 590 /* Source and sink format must match. */ 591 if (src_port->info->format. u32 != dst_port->info->format.u32) {591 if (src_port->info->format.fmt_id != dst_port->info->format.fmt_id) { 592 592 pj_mutex_unlock(conf->mutex); 593 593 return PJMEDIA_ENOTCOMPATIBLE; … … 952 952 953 953 /* Level adjustment is applicable only for ports that work with raw PCM. */ 954 PJ_ASSERT_RETURN(conf_port->info->format. u32== PJMEDIA_FORMAT_L16,954 PJ_ASSERT_RETURN(conf_port->info->format.fmt_id == PJMEDIA_FORMAT_L16, 955 955 PJ_EIGNORED); 956 956 … … 986 986 987 987 /* Level adjustment is applicable only for ports that work with raw PCM. */ 988 PJ_ASSERT_RETURN(conf_port->info->format. u32== PJMEDIA_FORMAT_L16,988 PJ_ASSERT_RETURN(conf_port->info->format.fmt_id == PJMEDIA_FORMAT_L16, 989 989 PJ_EIGNORED); 990 990 … … 1111 1111 /* Check port format. */ 1112 1112 if (cport_dst->port && 1113 cport_dst->port->info.format. u32== PJMEDIA_FORMAT_L16)1113 cport_dst->port->info.format.fmt_id == PJMEDIA_FORMAT_L16) 1114 1114 { 1115 1115 /* When there is already some samples in listener's TX buffer,
Note: See TracChangeset
for help on using the changeset viewer.