[Freeswitch-svn] [commit] r3779 - freeswitch/trunk/src/mod/applications/mod_conference
Freeswitch SVN
anthm at freeswitch.org
Thu Dec 21 11:51:58 EST 2006
Author: anthm
Date: Thu Dec 21 11:51:58 2006
New Revision: 3779
Modified:
freeswitch/trunk/src/mod/applications/mod_conference/mod_conference.c
Log:
increase energy to go up in 200 unit increments instead of 100 and max out at 3000 instead of 1200
Modified: freeswitch/trunk/src/mod/applications/mod_conference/mod_conference.c
==============================================================================
--- freeswitch/trunk/src/mod/applications/mod_conference/mod_conference.c (original)
+++ freeswitch/trunk/src/mod/applications/mod_conference/mod_conference.c Thu Dec 21 11:51:58 2006
@@ -993,9 +993,9 @@
break;
case '9':
switch_mutex_lock(member->flag_mutex);
- member->energy_level += 100;
- if (member->energy_level > 1200) {
- member->energy_level = 1200;
+ member->energy_level += 200;
+ if (member->energy_level > 3000) {
+ member->energy_level = 3000;
}
switch_mutex_unlock(member->flag_mutex);
snprintf(msg, sizeof(msg), "Energy level %d", member->energy_level);
More information about the Freeswitch-svn
mailing list