]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
tweak
authorAnthony Minessale <anthony.minessale@gmail.com>
Thu, 4 Oct 2007 17:24:53 +0000 (17:24 +0000)
committerAnthony Minessale <anthony.minessale@gmail.com>
Thu, 4 Oct 2007 17:24:53 +0000 (17:24 +0000)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5795 d0543943-73ff-0310-b7d9-9358b9ac24b2

src/mod/applications/mod_conference/mod_conference.c

index aeb51de2733d820d23cba2dcc5852a6ca290c293..25cffb24e9dc8b559cefbb9970d3ec0d89558d12 100644 (file)
@@ -162,7 +162,6 @@ typedef struct conference_file_node {
        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 @@ static switch_status_t conference_member_say(conference_member_t * member, char
                                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 @@ static switch_status_t conference_say(conference_obj_t * conference, const char
                        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 */