[commit] r1609 - freeswitch/trunk/src/mod/applications/mod_rss
Author: mikej Date: Mon Jun 12 13:57:26 2006 New Revision: 1609 Modified: freeswitch/trunk/src/mod/applications/mod_rss/mod_rss.c Log: tweak mod_rss Modified: freeswitch/trunk/src/mod/applications/mod_rss/mod_rss.c ============================================================================== --- freeswitch/trunk/src/mod/applications/mod_rss/mod_rss.c (original) +++ freeswitch/trunk/src/mod/applications/mod_rss/mod_rss.c Mon Jun 12 13:57:26 2006 @@ -118,8 +118,8 @@ return SWITCH_STATUS_BREAK; break; case '2': - if (dtb->speed < 220) { - dtb->speed += 20; + if (dtb->speed < 260) { + dtb->speed += 30; switch_core_speech_numeric_param_tts(dtb->sh, "speech/rate", dtb->speed); switch_set_flag(dtb, SFLAG_INFO); return SWITCH_STATUS_BREAK; @@ -132,7 +132,7 @@ return SWITCH_STATUS_BREAK; case '8': if (dtb->speed > 80) { - dtb->speed -= 20; + dtb->speed -= 30; switch_core_speech_numeric_param_tts(dtb->sh, "speech/rate", dtb->speed); switch_set_flag(dtb, SFLAG_INFO); return SWITCH_STATUS_BREAK; @@ -474,7 +474,7 @@ switch_strftime(date, &retsize, sizeof(date), "%A, %B %d, %Y. %I:%M %p", &tm); - snprintf(buf, sizeof(buf), "%s. %s. %s. local time: %s, Press 0 for options or pound to return to the main menu. ", + snprintf(buf, sizeof(buf), "%s. %s. %s. local time: %s, Press 0 for options, 5 to change voice, or pound to return to the main menu. ", title_txt, description_txt, rights_txt, date); status = switch_ivr_speak_text_handle(session, &sh, @@ -560,7 +560,7 @@ len = (uint32_t)strlen(buf); if (entries[dtb.index].subject_txt) { - snprintf(buf + len, sizeof(buf) - len, "Subject %s. ", entries[dtb.index].subject_txt); + snprintf(buf + len, sizeof(buf) - len, "Subject: %s. ", entries[dtb.index].subject_txt); len = (uint32_t)strlen(buf); }
participants (1)
-
mikej@freeswitch.org