Don Gagne
3433b5417d
Remove as many Singletons as possible
...
Instead us a Toolbox concept which hangs off of QGCApplication
9 years ago
dogmaphobic
a2ebe500bc
Some work for iOS
9 years ago
dogmaphobic
dd587ce2b1
Text to Speech Work
9 years ago
Don Gagne
a41fb7cf74
Fix UT only shutdown ordering crash
10 years ago
Benno Eigenmann
d879a932cc
Ubuntu 15.04: thread->wait() hangs on Program Exit in GAudioOutput destructor
10 years ago
Don Gagne
6fe1f1d66e
Remove unused code
10 years ago
Bryant
e3216f87a9
Switch GAudioOutput to new-style signal/slots.
10 years ago
Don Gagne
8a8ccd9c01
Put back missing mute setting save
10 years ago
Don Gagne
fc493d75c1
Move UAS and MAVLinkProtocol back to main thread
...
Plus a large number of other changes to allow for orderly shutdown of
objects without crashes or asserts. This is need for unit tests to
create/delete global state around every test.
10 years ago
Lorenz Meier
8796902220
More rigor in thread tear down
10 years ago
Don Gagne
560f679f7a
Move init to correct thread
10 years ago
Lorenz Meier
d53d5f88a8
Improve audio output logic and consistency
10 years ago
Lorenz Meier
daefb0bd4b
Move Windows sound API to right thread context and make it an object member. Perform init within the right thread context. Add capability to play .wav files in addition via QMultiMedia
10 years ago
Lorenz Meier
4bb161b88d
Fix beep API and unconnected slot
10 years ago
Lorenz Meier
156f211c8b
Handle unused variable warnings
10 years ago
Lorenz Meier
f5d2c570be
Put audio output into a worker thread.
10 years ago
Don Gagne
505220e0e7
Change to use QGCTemporaryFile
10 years ago
Bryant
6359f78a32
Remove all unnecessary calls to QSettings.sync().
...
This function is called automatically when a QSettings object is destroyed,
so is rarely needed to be called explicitly.
There are still some cases where
a QSettings object is passed-by-reference, so there I left the sync() calls as
it's unclear how permanent those objects are and if they'd call sync() before
application shutdown
10 years ago
Bryant Mairs
6ba95152e8
Fixed issue with incomplete initialization of struct.
...
Changed to get the current voice properties, then modify then and set new ones.
11 years ago
Bryant Mairs
e084a4dda5
Fixed issue with incomplete initialization of struct.
...
Changed to get the current voice properties, then modify then and set new ones.
11 years ago
Bryant Mairs
686d265c1f
Fix for partial initialization of a struct.
...
Found via valgrind.
11 years ago
Bryant Mairs
fb01ee9494
Fixed extra paren in GAudioOutput.cc
...
Broke windows compilation.
11 years ago
Susurrus
2ce8e86f36
Add more debugging output to GAudioOutput.cc
...
Add debug output for when voice initialization fails on Windows
11 years ago
Susurrus
2c7a4309d1
Clean up dead code in GAudioOutput.cc
...
Removed or annotated existing commented-out code
11 years ago
Susurrus
e42ba9be45
Fix speech output checks in GAudioOutput.cc
...
Clean up logic for saying emergency text.
Previous code didn't properly check for if speech was enabled.
11 years ago
Lorenz Meier
30e9ca4a83
Build fixes for Mac OS
11 years ago
Bryant Mairs
54201d5295
Phonon has been deprecated for a while. Disabled until ported to QtMultimedia.
11 years ago
Bryant Mairs
f96c178ca6
QString::toAscii() doesn't exist in Qt5, using toLatin1() instead.
11 years ago
Thomas Gubler
e2f5a8c3fe
espeak: provide string length with 0 character, fixes problems with qgc reading out strange values/chars at the end of the sentence
11 years ago
Bryant Mairs
a64973b824
Fixed unused variable warning in GAudioOutput when speech is disabled.
11 years ago
Don Gagne
a20b2b18ce
Fill in missing struct members instead of pragma
11 years ago
Don Gagne
51098eaf5a
Fix GCC compiler warning
11 years ago
Thomas Gubler
34f11cca70
espeak: remove comment
11 years ago
Thomas Gubler
a459d07e52
espeak: remove c style zero initialize
11 years ago
Thomas Gubler
873382366c
espeak: cleanup
11 years ago
Bryant
d576823830
Disable text output from GAudioOutput.
...
All it does is clutter the terminal and it's not doing anything anyways.
11 years ago
Thomas Gubler
eb3f48b99c
fix merge errors and unused-variable error
11 years ago
Lorenz Meier
7b21d58924
Removed windows startup delay on voice output
11 years ago
Bryant
1ea5313b78
Speech library now uses QGC_SPEECH_ENABLED macro.
11 years ago
Bryant
ebbb7b7ac6
Altered build procedure for speech synthesis.
...
Speech synthesis support can now be disabled (DEFINES+=DISABLE_SPEECH)
Speech synthesis dependencies are now checked before enabling.
When support cannot be enabled, the user is now notified.
11 years ago
Thomas Gubler
0bce87ad85
linux speech synthesis: switch to eSpeak
...
Conflicts:
QGCExternalLibs.pri
src/GAudioOutput.cc
11 years ago
Don Gagne
4a91f435f4
Windows build required atlbase.h
...
While testing the previous commit on Windows I found that I could not
compile windows due to include of atlbase.h. This file is no longer
available in SDKs. It is only available in for money versions of VIsual
Studio. Luckily this include was not needed. So I just removed it and
Windows now builds again with just VS Express. Tested all changes on
OSX, Linux and Windows (including speech on windows, which still works).
11 years ago
Thomas Gubler
0d445a4d71
re-enable linux text to speech and fix use of deprecated function
11 years ago
Lorenz Meier
0700a1e7d6
Audio for Windows
11 years ago
LM
a347a65985
Formatting, fixing audio alarms
13 years ago
pixhawk
9ecf6a9588
Fixed audio error on Linux, added Hz rate to MAVLink inspector, fixed logging for 0 timestamps
13 years ago
Lorenz Meier
74e4704f38
Fixed compile warnings, fixed a windows-specific compile error
13 years ago
pixhawk
dee19d0c4e
Solved bugs for large angles
14 years ago
James Goppert
18d74deb3a
K/R formatting, debugging serialport.
14 years ago
James Goppert
efc971bafc
Flite fixed for unix and cmake.
14 years ago