[PATCH 1/2] Revert "C API - Remove function definitions for functions that do not exist"

Luke Yelavich themuso at ubuntu.com
Tue Aug 25 07:04:11 CEST 2009


From: Luke Yelavich <luke.yelavich at canonical.com>

It turns out that these function definitions are in fact correct. The functions
themselves are created with the SPD_SET_COMMAND series of macro definitions.

This reverts commit c077ecf2847ebc1d682d48216e3ba3dbce431f76.
---
 src/c/api/libspeechd.h |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)

diff --git a/src/c/api/libspeechd.h b/src/c/api/libspeechd.h
index 576a299..97b865e 100644
--- a/src/c/api/libspeechd.h
+++ b/src/c/api/libspeechd.h
@@ -191,6 +191,10 @@ 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




More information about the Speechd mailing list