Changeset 2668


Ignore:
Timestamp:
Apr 30, 2009 6:49:13 PM (15 years ago)
Author:
bennylp
Message:

Fixed ticket #812: Noise with Symbian MDA sound backend when making a call

  • handle frame type NONE in the MDA
File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/trunk/pjmedia/src/pjmedia-audiodev/symb_mda_dev.cpp

    r2506 r2668  
    707707        } 
    708708 
     709        if (f.type != PJMEDIA_FRAME_TYPE_AUDIO) 
     710            pj_bzero(frameBuf_, frameBufSize_); 
     711         
    709712        // Increment timestamp. 
    710713        timestamp_ += (frameBufSize_ / BYTES_PER_SAMPLE); 
     
    745748        } 
    746749 
     750        if (f.type != PJMEDIA_FRAME_TYPE_AUDIO) 
     751            pj_bzero(frameBuf_, frameBufSize_); 
     752         
    747753        // Increment timestamp. 
    748754        timestamp_ += (frameBufSize_ / BYTES_PER_SAMPLE); 
Note: See TracChangeset for help on using the changeset viewer.