Changeset 2777


Ignore:
Timestamp:
Jun 19, 2009 9:15:59 AM (11 years ago)
Author:
bennylp
Message:

Misc (#838): don't print error if MDA MaiscRecordComplete?() or MaoscPlayComplete?() returns KErrCancel (-3)

File:
1 edited

Legend:

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

    r2677 r2777  
    477477    lastError_ = aError; 
    478478    state_ = STATE_INACTIVE; 
    479     if (aError != KErrNone) { 
     479    if (aError != KErrNone && aError != KErrCancel) { 
    480480        snd_perror("Error in MaiscRecordComplete()", aError); 
    481481    } 
     
    771771    lastError_ = aError; 
    772772    state_ = STATE_INACTIVE; 
    773     if (aError != KErrNone) { 
     773    if (aError != KErrNone && aError != KErrCancel) { 
    774774        snd_perror("Error in MaoscPlayComplete()", aError); 
    775775    } 
Note: See TracChangeset for help on using the changeset viewer.