summaryrefslogtreecommitdiffstats
path: root/rbutil/rbutilqt/base/ttssapi.cpp
diff options
context:
space:
mode:
authorDominik Riebeling <Dominik.Riebeling@gmail.com>2010-09-26 11:43:34 +0000
committerDominik Riebeling <Dominik.Riebeling@gmail.com>2010-09-26 11:43:34 +0000
commit51321cc6f8bffa0246406fb5113de5f7c1970471 (patch)
treec755dbd13d2f94ee2096b3815ca06b73a55cfa20 /rbutil/rbutilqt/base/ttssapi.cpp
parent4aa42f3d43384f6af70cb0835c50c7e8b511a650 (diff)
downloadrockbox-51321cc6f8bffa0246406fb5113de5f7c1970471.tar.gz
rockbox-51321cc6f8bffa0246406fb5113de5f7c1970471.tar.bz2
rockbox-51321cc6f8bffa0246406fb5113de5f7c1970471.zip
Improve some trace messages.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28171 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'rbutil/rbutilqt/base/ttssapi.cpp')
-rw-r--r--rbutil/rbutilqt/base/ttssapi.cpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/rbutil/rbutilqt/base/ttssapi.cpp b/rbutil/rbutilqt/base/ttssapi.cpp
index 36ce16826f..b149e1d786 100644
--- a/rbutil/rbutilqt/base/ttssapi.cpp
+++ b/rbutil/rbutilqt/base/ttssapi.cpp
@@ -195,8 +195,10 @@ QStringList TTSSapi::getVoiceList(QString language)
TTSStatus TTSSapi::voice(QString text,QString wavfile, QString *errStr)
{
(void) errStr;
- QString query = "SPEAK\t"+wavfile+"\t"+text+"\r\n";
- qDebug() << "voicing" << query;
+ QString query = "SPEAK\t"+wavfile+"\t"+text;
+ qDebug() << "[TTSSapi] voicing" << query;
+ // append newline to query. Done now to keep debug output more readable.
+ query.append("\r\n");
*voicestream << query;
*voicestream << "SYNC\tbla\r\n";
voicestream->flush();