Ignore:
Timestamp:
Aug 10, 2008 10:10:41 PM (16 years ago)
Author:
bennylp
Message:

Initialize CPocketPJ setting with proper values in constructor

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/trunk/pjsip-apps/src/pocketpj/SettingsDlg.cpp

    r1856 r2201  
    3131///////////////////////////////////////////////////////////////////////////// 
    3232// Settings 
     33CPocketPJSettings::CPocketPJSettings() 
     34: m_UseStun(FALSE), m_UseIce(FALSE), m_UseSrtp(FALSE), m_UsePublish(FALSE), 
     35  m_EchoSuppress(TRUE), m_EcTail(200) 
     36{ 
     37} 
    3338 
    3439// Load from registry 
     
    99104        m_EchoSuppress = dwordVal != 0; 
    100105    } else { 
    101         m_EchoSuppress = 0; 
     106        m_EchoSuppress = 1; 
    102107    } 
    103108 
     
    106111        m_EcTail = dwordVal; 
    107112    } else { 
    108         m_EcTail = 2; 
     113        m_EcTail = 200; 
    109114    } 
    110115 
Note: See TracChangeset for help on using the changeset viewer.