From: <st...@us...> - 2003-06-11 16:39:08
|
Update of /cvsroot/iaxclient/iaxclient/simpleclient/wx In directory sc8-pr-cvs1:/tmp/cvs-serv20560/simpleclient/wx Modified Files: wx.cc Log Message: change transfer function a bit for companding. Build an "auto" silence detection mode: This just looks for any audio that is 5dB above the lowest level seen to be considered "non-silent". Also, have companding and silence compression keep a 40ms "delay", so companding and silence detection are predictive, instead of reactive. Index: wx.cc =================================================================== RCS file: /cvsroot/iaxclient/iaxclient/simpleclient/wx/wx.cc,v retrieving revision 1.22 retrieving revision 1.23 diff -u -d -r1.22 -r1.23 --- wx.cc 10 Jun 2003 23:19:45 -0000 1.22 +++ wx.cc 11 Jun 2003 16:39:03 -0000 1.23 @@ -21,7 +21,7 @@ #define LEVEL_MAX -10 #define LEVEL_MIN -50 -#define DEFAULT_SILENCE_THRESHOLD -40 +#define DEFAULT_SILENCE_THRESHOLD 1 // positive is "auto" IMPLEMENT_APP(IAXClient) |