mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-12-08 12:45:26 -05:00
rbutil: Use references to avoid creating temporary objects.
Get rid of some unnecessary object creating / copying by using references. Change-Id: Ia44e34f6f66d230caa9af7ef7c0eca73be12de2a
This commit is contained in:
parent
8c55ce62b9
commit
62108a9613
14 changed files with 24 additions and 25 deletions
|
|
@ -35,7 +35,7 @@ class TTSExes : public TTSBase
|
|||
Q_OBJECT
|
||||
public:
|
||||
TTSExes(QObject* parent=nullptr);
|
||||
TTSStatus voice(QString text, QString wavfile, QString *errStr);
|
||||
TTSStatus voice(const QString& text, const QString& wavfile, QString *errStr);
|
||||
bool start(QString *errStr);
|
||||
bool stop() {return true;}
|
||||
QString voiceVendor(void) { return QString(); }
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue