[Freeswitch-svn] [commit] r5795 - freeswitch/trunk/src/mod/applications/mod_conference
Freeswitch SVN
anthm at freeswitch.org
Thu Oct 4 13:24:53 EDT 2007
Author: anthm
Date: Thu Oct 4 13:24:53 2007
New Revision: 5795
Modified:
freeswitch/trunk/src/mod/applications/mod_conference/mod_conference.c
Log:
tweak
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 Oct 4 13:24:53 2007
@@ -162,7 +162,6 @@
uint8_t async;
switch_memory_pool_t *pool;
uint32_t leadin;
- int nv;
struct conference_file_node *next;
} conference_file_node_t;
@@ -2280,11 +2279,9 @@
text = tmp + 1;
switch_copy_string(voice, vp, (tmp - vp) + 1);
switch_core_speech_text_param_tts(fnode->sh, "voice", voice);
- fnode->nv = 1;
}
- } else if (fnode->nv) {
+ } else {
switch_core_speech_text_param_tts(fnode->sh, "voice", conference->tts_voice);
- fnode->nv = 0;
}
switch_core_speech_feed_tts(fnode->sh, text, &flags);
@@ -2371,11 +2368,9 @@
text = tmp + 1;
switch_copy_string(voice, vp, (tmp - vp) + 1);
switch_core_speech_text_param_tts(fnode->sh, "voice", voice);
- fnode->nv = 1;
}
- } else if (fnode->nv) {
+ } else {
switch_core_speech_text_param_tts(fnode->sh, "voice", conference->tts_voice);
- fnode->nv = 0;
}
/* Begin Generation */
More information about the Freeswitch-svn
mailing list