[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH 1/2] Revert "C API - Remove function definitions for functions th
From: |
Luke Yelavich |
Subject: |
[PATCH 1/2] Revert "C API - Remove function definitions for functions that do not exist" |
Date: |
Tue, 25 Aug 2009 15:04:11 +1000 |
From: Luke Yelavich <address@hidden>
To: address@hidden
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
- [PATCH 1/2] Revert "C API - Remove function definitions for functions that do not exist",
Luke Yelavich <=