From 5a154e0acdcc269c3a2e115f16285d0e9dd914b2 Mon Sep 17 00:00:00 2001 From: Brian West Date: Sun, 13 Jul 2008 18:45:11 +0000 Subject: [PATCH] clean up git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@9010 d0543943-73ff-0310-b7d9-9358b9ac24b2 --- src/mod/asr_tts/mod_flite/mod_flite.c | 5 ----- 1 file changed, 5 deletions(-) diff --git a/src/mod/asr_tts/mod_flite/mod_flite.c b/src/mod/asr_tts/mod_flite/mod_flite.c index 219904687a..ed63de584b 100644 --- a/src/mod/asr_tts/mod_flite/mod_flite.c +++ b/src/mod/asr_tts/mod_flite/mod_flite.c @@ -25,9 +25,7 @@ * * Brian West * - * * mod_flite.c -- Flite Interface - * * */ @@ -49,7 +47,6 @@ static struct { cst_voice *v16; } globals; - struct flite_data { cst_voice *v; cst_wave *w; @@ -62,7 +59,6 @@ typedef struct flite_data flite_t; static switch_status_t flite_speech_open(switch_speech_handle_t *sh, const char *voice_name, int rate, switch_speech_flag_t *flags) { - flite_t *flite = switch_core_alloc(sh->memory_pool, sizeof(*flite)); if (rate == 8000) { @@ -96,7 +92,6 @@ static switch_status_t flite_speech_close(switch_speech_handle_t *sh, switch_spe static switch_status_t flite_speech_feed_tts(switch_speech_handle_t *sh, char *text, switch_speech_flag_t *flags) { - flite_t *flite = (flite_t *) sh->private_info; flite->w = flite_text_to_wave(text, flite->v);