- Timestamp:
- Feb 26, 2009 9:12:44 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/branches/projects/aps-direct/pjmedia/src/pjmedia-audiodev/symb_mda_dev.cpp
r2476 r2479 773 773 * Factory operations 774 774 */ 775 775 776 /* 776 777 * C compatible declaration of MDA factory. … … 886 887 /* Can only support 16bits per sample raw PCM format. */ 887 888 PJ_ASSERT_RETURN(param->bits_per_sample == BITS_PER_SAMPLE, PJ_EINVAL); 888 PJ_ASSERT_RETURN((param->flags & PJMEDIA_AUD_DEV_CAP_EXT_FORMAT)==0, 889 PJ_ASSERT_RETURN((param->flags & PJMEDIA_AUD_DEV_CAP_EXT_FORMAT)==0 || 890 param->ext_fmt.id == PJMEDIA_FORMAT_L16, 889 891 PJ_ENOTSUP); 890 892
Note: See TracChangeset
for help on using the changeset viewer.