Changeset 2201


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

Initialize CPocketPJ setting with proper values in constructor

Location:
pjproject/trunk/pjsip-apps/src/pocketpj
Files:
2 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 
  • pjproject/trunk/pjsip-apps/src/pocketpj/SettingsDlg.h

    r1856 r2201  
    2727    CArray<CString,CString> m_BuddyList; 
    2828     
     29    CPocketPJSettings(); 
     30 
    2931    // Load from registry 
    3032    void    LoadRegistry(); 
Note: See TracChangeset for help on using the changeset viewer.