summaryrefslogtreecommitdiffstats
path: root/rbutil/rbutilqt/base/ttsbase.h
diff options
context:
space:
mode:
authorDominik Riebeling <Dominik.Riebeling@gmail.com>2011-04-03 08:06:59 +0000
committerDominik Riebeling <Dominik.Riebeling@gmail.com>2011-04-03 08:06:59 +0000
commit746f01dd775feb9b53577a2338fd9182d879c0d3 (patch)
treebc6daa8c97b4ef9665e7113f14b68e1dbdf17d7d /rbutil/rbutilqt/base/ttsbase.h
parent76c112ce6e3b79cdbc8545637d2bffbedff3f178 (diff)
downloadrockbox-746f01dd775feb9b53577a2338fd9182d879c0d3.tar.gz
rockbox-746f01dd775feb9b53577a2338fd9182d879c0d3.tar.bz2
rockbox-746f01dd775feb9b53577a2338fd9182d879c0d3.zip
Add capability to speak directly from the TTS engine.
The OS X TTS engine (and likely others) allows outputting its speech directly to the sound system. This avoids the extra step of creating a temporary file to play for TTS preview. Currently implemented as TTS capability reported. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29672 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'rbutil/rbutilqt/base/ttsbase.h')
-rw-r--r--rbutil/rbutilqt/base/ttsbase.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/rbutil/rbutilqt/base/ttsbase.h b/rbutil/rbutilqt/base/ttsbase.h
index f04016c85f..c6bbdcfb0b 100644
--- a/rbutil/rbutilqt/base/ttsbase.h
+++ b/rbutil/rbutilqt/base/ttsbase.h
@@ -36,7 +36,7 @@ class TTSBase : public EncTtsSettingInterface
{
Q_OBJECT
public:
- enum Capability { None = 0, RunInParallel = 1 };
+ enum Capability { None = 0, RunInParallel = 1, CanSpeak = 2 };
Q_DECLARE_FLAGS(Capabilities, Capability)
TTSBase(QObject *parent);