From: <st...@us...> - 2003-06-10 14:40:33
|
Update of /cvsroot/iaxclient/iaxclient/simpleclient/wx In directory sc8-pr-cvs1:/tmp/cvs-serv3138a Modified Files: wx.cc Log Message: don't check keyboard so often. Index: wx.cc =================================================================== RCS file: /cvsroot/iaxclient/iaxclient/simpleclient/wx/wx.cc,v retrieving revision 1.19 retrieving revision 1.20 diff -u -d -r1.19 -r1.20 --- wx.cc 10 Jun 2003 13:20:54 -0000 1.19 +++ wx.cc 10 Jun 2003 14:40:27 -0000 1.20 @@ -106,9 +106,11 @@ void IAXTimer::Notify() { + iaxc_process_calls(); // really shouldn't do this so often.. - if(theFrame->pttMode) theFrame->CheckPTT(); + static int i=0; + if((i++%10==0) && theFrame->pttMode) theFrame->CheckPTT(); } |