[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH 1/2] fix API usage for the data mode in say.c
From: |
Andrei Kholodnyi |
Subject: |
[PATCH 1/2] fix API usage for the data mode in say.c |
Date: |
Wed, 10 Nov 2010 20:37:09 +0100 |
use proper API call (spd_set_data_mode) in say.c
---
src/clients/say/say.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/src/clients/say/say.c b/src/clients/say/say.c
index f199c78..188981b 100644
--- a/src/clients/say/say.c
+++ b/src/clients/say/say.c
@@ -192,7 +192,7 @@ int main(int argc, char **argv) {
printf("Failed to set synthesis voice!\n");
if (ssml_mode == SPD_DATA_SSML)
- if(spd_execute_command(conn, "SET SELF SSML_MODE ON"))
+ if (spd_set_data_mode(conn, ssml_mode))
printf("Failed to set SSML mode.\n");
if (rate != -101)
--
1.6.0.4
- [PATCH 1/2] fix API usage for the data mode in say.c,
Andrei Kholodnyi <=