1
0
Fork 0
forked from len0rd/rockbox

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
This commit is contained in:
Dominik Riebeling 2011-04-03 08:06:59 +00:00
parent 76c112ce6e
commit 746f01dd77
3 changed files with 48 additions and 36 deletions

View file

@ -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);