Ignore:
Timestamp:
Feb 16, 2009 4:29:05 PM (12 years ago)
Author:
nanang
Message:

Changed term 'fourcc' to 'format' and few minor fixes/updates.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/branches/projects/aps-direct/pjmedia/src/pjmedia/stream.c

    r2445 r2456  
    868868    } else if (frame->type == PJMEDIA_FRAME_TYPE_AUDIO && 
    869869               frame->buf == NULL && 
    870                (stream->port.info.format.u32 == 0 || 
    871                 stream->port.info.format.u32 == PJMEDIA_FOURCC_L16) && 
     870               stream->port.info.format.u32 == PJMEDIA_FORMAT_L16 && 
    872871               (stream->dir & PJMEDIA_DIR_ENCODING) && 
    873872               stream->codec_param.info.frm_ptime * 
     
    16091608    stream->port.info.format = info->param->info.format; 
    16101609    stream->port.port_data.pdata = stream; 
    1611     if (stream->port.info.format.u32 == 0 || 
    1612         stream->port.info.format.u32 == PJMEDIA_FOURCC_L16) 
    1613     { 
     1610    if (stream->port.info.format.u32 == PJMEDIA_FORMAT_L16) { 
    16141611        stream->port.put_frame = &put_frame; 
    16151612        stream->port.get_frame = &get_frame; 
Note: See TracChangeset for help on using the changeset viewer.