speechd-discuss
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCH 01/09] remove flite_set_voice


From: Andrei Kholodnyi
Subject: [PATCH 01/09] remove flite_set_voice
Date: Fri, 1 Oct 2010 23:50:56 +0200

function was empty, removed
---
 src/modules/flite.c |   13 -------------
 1 files changed, 0 insertions(+), 13 deletions(-)

diff --git a/src/modules/flite.c b/src/modules/flite.c
index ddc85fd..249b25e 100644
--- a/src/modules/flite.c
+++ b/src/modules/flite.c
@@ -57,7 +57,6 @@ signed int flite_volume = 0;
 static void flite_set_rate(signed int rate);
 static void flite_set_pitch(signed int pitch);
 static void flite_set_volume(signed int pitch);
-static void flite_set_voice(EVoiceType voice);
 
 static void flite_strip_silence(AudioTrack*);
 static void* _flite_speak(void*);
@@ -186,7 +185,6 @@ module_speak(gchar *data, size_t bytes, EMessageType 
msgtype)
     flite_message_type = MSGTYPE_TEXT;
        
     /* Setting voice */
-    UPDATE_PARAMETER(voice, flite_set_voice);
     UPDATE_PARAMETER(rate, flite_set_rate);
     UPDATE_PARAMETER(volume, flite_set_volume);
     UPDATE_PARAMETER(pitch, flite_set_pitch);
@@ -438,14 +436,3 @@ flite_set_pitch(signed int pitch)
     f0 = ( ((float) pitch) * 0.8 ) + 100;
     feat_set_float(flite_voice->features, "int_f0_target_mean", f0);
 }
-
-/*
- * flite_set_voice is a no-op.  We only support one flite voice, and
- * that voice is established in module_init.  Furthermore, the voice
- * data is managed by the flite library.
- */
-static void
-flite_set_voice(EVoiceType voice)
-{
-    return;
-}
-- 
1.6.0.4




reply via email to

[Prev in Thread] Current Thread [Next in Thread]