Ignore:
Timestamp:
Mar 3, 2009 6:25:55 PM (15 years ago)
Author:
nanang
Message:
  • Fixed player callback (for PCM) of APS aud dev to zero-fill the buffer whenever it gets non-audio frame type.
  • Updated symbian_ua.mmp to allow it links to multiple audio back-ends (feature of the new audio device framework).
  • Minor fix in symbian_ua to use codec macros instead of sound device macro.
File:
1 edited

Legend:

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

    r2475 r2483  
    731731             
    732732            strm->play_cb(strm->user_data, &f); 
     733            if (f.type != PJMEDIA_FRAME_TYPE_AUDIO) { 
     734                pjmedia_zero_samples(strm->play_buf,  
     735                                     strm->param.samples_per_frame); 
     736            } 
     737             
    733738            strm->play_buf_len = strm->param.samples_per_frame; 
    734739            strm->play_buf_start = 0; 
Note: See TracChangeset for help on using the changeset viewer.