summaryrefslogtreecommitdiff
path: root/rbutil/rbutilqt/base/ttssapi.cpp
AgeCommit message (Collapse)Author
2020-08-16rbutil: Initial Qt6 support.Dominik Riebeling
Qt6 replaces QTextStream::setCodec() with QTextStream::setEncoding(). Change-Id: I4cfa90d89f54ad49d061ad859585a2a74b5f9786
2013-11-04Use cutelogger for Rockbox Utility internal trace.Dominik Riebeling
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-09-09Make SAPI implementation more parametrizable.Dominik Riebeling
Move command line template for listing voices and generation into protected member variables and initialize them in the constructor. This allows derived classes to overwrite these, allowing to change the command line call. Make the name used for storing the classes values to the configuration parametrize at all. Remove SAPI4 support, this will be handled in a derived class later. Change-Id: Ib5a261c56cdf93a44fffdfa6edea409d89fd84ba
2012-09-08Change sapi_voice.vbs voice list separation character.Dominik Riebeling
The currently used comma for separating voices for the /listvoices command is used by Speech Platform based voices. Change the character to a semicolon which isn't used by voices. Change-Id: I1a7e6e4229f864f56635143e864dadf38cdd7e73
2012-06-25Add missing class name to System Trace log.Dominik Riebeling
To identify the source for System Trace entries qDebug() calls usually add the class name at the beginning. Add some missing ones and remove some trailing spaces. Change-Id: I3179bb206e96de8b5a1c05c0fc0958936e4513f3
2012-05-19Show nicer language names in voice creation dialog.Dominik Riebeling
Instead of showing the internal language names show some more human friendly string. Currently only applies to the voice creation dialog, the language configuration dialog needs further adjustments to support display strings differing from values. Change-Id: Ic94838f1079c1d09a666d7dbd9682c577f686b3f
2012-02-22Don't poll SAPI script output.Dominik Riebeling
Wait for the process to signal new data available instead of polling its output. Fixes synchronisation issues with sapi_voice.vbs that were causing FS#12595. Change-Id: I86e844e837ed20f32005fdccf7ec9e8c1efbe983
2012-01-17Fix a typo.Dominik Riebeling
Change-Id: I32a0d202385f025e0f450f7ba2fba5b6334d8f39
2012-01-17TTS: check if created wav file exists.Dominik Riebeling
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
2012-01-14Improve error handling and logging.Dominik Riebeling
- Fix a warning - Log an error if the file to encode cannot be read. - Adjust some log strings.
2011-10-19Remove svn keyword lines from sources.Dominik Riebeling
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30806 a1c6a512-1295-4272-9138-f99709370657
2011-09-26Rockbox Utility TTS: implement reading TTS vendor.Dominik Riebeling
Support retrieving the vendor name of the TTS. This will be used by TTS string corrections. Currently no other TTS but SAPI supports this, and only correction strings for SAPI voices depend on the vendor information. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30609 a1c6a512-1295-4272-9138-f99709370657
2011-04-22Fix SAPI default speed being way too fast.Dominik Riebeling
The settings currently can't differentiate between default values for different subitems (i.e. different TTS systems). As a result the default value returned for SAPI speed was way out of bounds, leading to the upper limit getting used. Work around this limitation by checking the value for bounds and use a sensible value in that case. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29763 a1c6a512-1295-4272-9138-f99709370657
2011-02-04Replace list of languages with map.Dominik Riebeling
- Use ISO codes as keys for voice languages instead of enumeration. - Instead of trying to select a suitable voicefile language from the UI language use the ISO codes stored as UI language and match against the mapping. - Always store the selected UI language. Fixes the voicefile creation language lookup to fail if the language used is the system language. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29207 a1c6a512-1295-4272-9138-f99709370657
2010-09-26Improve some trace messages.Dominik Riebeling
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28171 a1c6a512-1295-4272-9138-f99709370657
2010-06-04rbutil: Make TTS and encoders run on all cores \n FS#11160 by Delyan KratunovDominik Wenger
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26558 a1c6a512-1295-4272-9138-f99709370657
2010-03-03Code police.Dominik Riebeling
- 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
2010-01-24rbutil: split RbSettings. use Stable/unstable status from server.Dominik Wenger
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24331 a1c6a512-1295-4272-9138-f99709370657
2009-10-13rbutil: split tts.cpp/h into individual files.Dominik Wenger
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23158 a1c6a512-1295-4272-9138-f99709370657