summaryrefslogtreecommitdiffstats
path: root/rbutil/rbutilqt/base/ttsexes.cpp
AgeCommit message (Collapse)AuthorFilesLines
2021-12-24rbutil: Merge rbutil with utils folder.Dominik Riebeling1-127/+0
rbutil uses several components from the utils folder, and can be considered part of utils too. Having it in a separate folder is an arbitrary split that doesn't help anymore these days, so merge them. This also allows other utils to easily use libtools.make without the need to navigate to a different folder. Change-Id: I3fc2f4de19e3e776553efb5dea5f779dfec0dc21
2020-09-27rbutil: Fix some minor issues found by clazy.Dominik Riebeling1-1/+1
Change-Id: I0e63df09caf959dcb325c6ad2297c4348388a831
2013-11-04Use cutelogger for Rockbox Utility internal trace.Dominik Riebeling1-5/+6
Change tracing from qDebug() to use cutelogger, which is available under the LGPL2.1. This allows to automatically add filename and line number to the log, and also provides multiple log levels. Change-Id: I5dbdaf902ba54ea99f07ae10a07467c52fdac910
2012-10-06Factor out executable based TTS engines to separate subclasses.Dominik Riebeling1-16/+32
Similar as done with SAPI / MSSP make the current implementation for executable based TTS engines a base class and create derived classes for each supported TTS. Removes the need for the implementation to know about the individual TTS engines. Add support for speaking directly (i.e. without going through a temporary wave file, currently only used by espeak). Change-Id: I59bbbd6ee4c2c009b2a8d8e0ab4a9b39ea723d6e
2012-06-10flite: indicate end of options on command line.Dominik Riebeling1-1/+1
As with espeak, a string starting with - is wrongly interpreted as command line option. Explicitly end options using -- to fix this. Change-Id: I47b2f1c4ba236638b1f625e5bcf3262f47071c9c
2012-06-09espeak: indicate end of options.Dominik Riebeling1-1/+1
When calling espeak via command line explicitly indicate the end of options. Fixes the voice string "-inf" getting recognized as unrecognized command line option, breaking speaking. Change-Id: I4d1be2e6c8ae23a72028919593c5a94990333a9c
2012-01-29Centralize settings for executable based TTS systems.Dominik Riebeling1-13/+18
The configuration values for executable based TTS systems is stored in member variables. Instead of reading them multiple times provide a function for that and move searching the executable to the loading function. Previously the executable was only searched in the path when opening the TTS configuration. Having this in the loading function removes that unnecessary step in case the TTS is in the path (and doesn't require additional configuration). Change-Id: I06799b55545dcb719ee3c916795b20e01c248a15
2012-01-17TTS: check if created wav file exists.Dominik Riebeling1-1/+6
Instead of simply assuming the wav file that is supposed to be created by the TTS engine check if the file actually exists and return an error if not. Change-Id: I9e4a85a061b44b48931614602683b1dfe7dfce67
2011-10-19Remove svn keyword lines from sources.Dominik Riebeling1-1/+0
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30806 a1c6a512-1295-4272-9138-f99709370657
2010-06-04rbutil: Make TTS and encoders run on all cores \n FS#11160 by Delyan KratunovDominik Wenger1-0/+5
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26558 a1c6a512-1295-4272-9138-f99709370657
2010-04-02Move utils.cpp functions into separate class and split it up.Dominik Riebeling1-1/+1
Move class-less functions in utils.cpp into a new Utils class and make the old functions static. This prevents clashes with system C functions. Rename some functions to avoid macro problems (check() is a macro on OS X). Split out the RockboxInfo class into a separate file. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25441 a1c6a512-1295-4272-9138-f99709370657
2010-03-03Code police.Dominik Riebeling1-2/+4
- remove tabs. - remove trailing spaces. - break overly long lines. - fix indentation errors. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25008 a1c6a512-1295-4272-9138-f99709370657
2009-10-13rbutil: split tts.cpp/h into individual files.Dominik Wenger1-0/+94
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23158 a1c6a512-1295-4272-9138-f99709370657