adding 12kHz and 24kHz

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@16026 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
Brian West
2009-12-22 21:24:15 +00:00
parent 376c07e8bd
commit 908d8a7280
5 changed files with 68 additions and 5 deletions
+4
View File
@@ -339,10 +339,14 @@ static inline int switch_check_interval(uint32_t rate, uint32_t ptime)
ptime_div = 2;
break;
case 32000:
case 24000:
case 16000:
max_ms = 60;
ptime_div = 2;
break;
case 12000:
max_ms = 100;
ptime_div = 2;
case 8000:
max_ms = 120;
ptime_div = 2;