Changeset 2479 for pjproject


Ignore:
Timestamp:
Feb 26, 2009 9:12:44 PM (16 years ago)
Author:
nanang
Message:

Updated check condition in creating aud dev Symbian MDA.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/branches/projects/aps-direct/pjmedia/src/pjmedia-audiodev/symb_mda_dev.cpp

    r2476 r2479  
    773773 * Factory operations 
    774774 */ 
     775 
    775776/* 
    776777 * C compatible declaration of MDA factory. 
     
    886887    /* Can only support 16bits per sample raw PCM format. */ 
    887888    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, 
    889891                     PJ_ENOTSUP); 
    890892 
Note: See TracChangeset for help on using the changeset viewer.