speechd-discuss
[Top][All Lists]
Advanced

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

[PATCH 1/3] C API - Remove function definitions for functions that do no


From: Luke Yelavich
Subject: [PATCH 1/3] C API - Remove function definitions for functions that do not exist
Date: Mon, 27 Jul 2009 16:20:25 +1000

From: Luke Yelavich <address@hidden>
To: address@hidden

In libspeechd.h, there are the following function definitions:
int spd_set_synthesis_voice(SPDConnection*, const char *voice_name);
int spd_set_synthesis_voice_type_all(SPDConnection*, const char *voice_name);
int spd_set_synthesis_voice_type_uid(SPDConnection*, const char *voice_name, 
unsigned int uid);

However, these functions do not exist in libspeechd.c, so remove the
definitions.
---
 src/c/api/libspeechd.h |    4 ----
 1 files changed, 0 insertions(+), 4 deletions(-)

diff --git a/src/c/api/libspeechd.h b/src/c/api/libspeechd.h
index cbdb461..700afbe 100644
--- a/src/c/api/libspeechd.h
+++ b/src/c/api/libspeechd.h
@@ -189,10 +189,6 @@ int spd_set_voice_type(SPDConnection*, SPDVoiceType type);
 int spd_set_voice_type_all(SPDConnection*, SPDVoiceType type);
 int spd_set_voice_type_uid(SPDConnection*, SPDVoiceType type, unsigned int 
uid);
 
-int spd_set_synthesis_voice(SPDConnection*, const char *voice_name);
-int spd_set_synthesis_voice_type_all(SPDConnection*, const char *voice_name);
-int spd_set_synthesis_voice_type_uid(SPDConnection*, const char *voice_name, 
unsigned int uid);
-
 int spd_set_data_mode(SPDConnection *connection, SPDDataMode mode);
 
 int spd_set_notification_on(SPDConnection* connection, SPDNotification 
notification);
-- 
1.6.3.3




reply via email to

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