Klaus Basan
a8c7575d9d
Style
2019-10-18 10:36:25 +02:00
Klaus Basan
f81fc31da6
[AFV] Ref T730, fetch settings in correct thread (i.e. context thread)
2019-10-18 10:36:25 +02:00
Klaus Basan
59baf237cc
[AFV] Ref T730, added notification files for "station tuned in"
...
Those will be a replacement for the "joined voice room"
2019-10-18 10:36:25 +02:00
Klaus Basan
1fe2109a89
[AFV] Ref T730, allow to set AFV notifcation sounds in AFV settings
2019-10-18 10:36:25 +02:00
Klaus Basan
7fdc2c3db3
[AFV] Ref T730, changed/added settings for AFV and allow still to use old swift notifications
2019-10-18 10:36:25 +02:00
Klaus Basan
3a469d4654
[AFV] Ref T730, bring back swift PTT click sounds
2019-10-18 10:36:25 +02:00
Klaus Basan
c054f4d307
[FSD] Disable voice room signal (precautionary)
2019-10-18 10:36:25 +02:00
Klaus Basan
35cdaf09bf
Style
2019-10-18 10:36:25 +02:00
Klaus Basan
439f76c9bb
[AFV] Ref T730, extra lock for volume (less blocking)
2019-10-18 10:36:25 +02:00
Klaus Basan
9959b12b9d
[AFV] Ref T739, encapsulate defaultXXDevice calls
...
* based on bug: https://bugreports.qt.io/plugins/servlet/mobile#issue/QTBUG-55631
* approach: avoid calls to default device (did not work out)
* kept encapsulation as it easier allows to text/apply workarounds
2019-10-18 10:36:25 +02:00
Klaus Basan
2dbe8464f4
[AFV] Ref T739, CoInitializeEx main thread of CAfvClient
2019-10-18 10:36:24 +02:00
Klaus Basan
1e7bc8a80f
[AFV] Ref T739, reduce verbose log message
2019-10-18 10:36:24 +02:00
Klaus Basan
f236b54084
Style
2019-10-18 10:36:24 +02:00
Klaus Basan
79f8e1b959
[AFV] Ref T739, CPPCheck fixes
2019-10-18 10:36:24 +02:00
Roland Rossgotterer
5efa52cba6
Update aircraft parts in FS9 plugin
2019-10-18 10:36:24 +02:00
Roland Rossgotterer
5fc173786d
Doxygen
2019-10-18 10:36:24 +02:00
Roland Rossgotterer
84248fc1b0
Fix double deletion of CLobbyClient during shutdown
2019-10-18 10:36:24 +02:00
Roland Rossgotterer
1051cc5751
[AFV] Add fuzzy callsign matching before aliasing a HF station
...
# Conflicts:
# src/blackcore/afv/clients/afvclient.h
2019-10-18 10:36:24 +02:00
Roland Rossgotterer
cf50d50f4f
[FSD] Fix broadcasting of incremental aircraft config updates
2019-10-18 10:36:24 +02:00
Roland Rossgotterer
2362e25593
[AFV] Add client version to API auth
2019-10-18 10:36:24 +02:00
Klaus Basan
f980fd02d5
[AFV] Ref T739, check if COM integration is used and make sure to use TX/RX defaults if NOT
...
There was a bug that COM integration was used although it was disabled
2019-10-18 10:36:24 +02:00
Klaus Basan
725a798cba
[AFV] Ref T739, removed unused code
2019-10-18 10:36:24 +02:00
Klaus Basan
8ecfd8f23d
Ref T739, workaround to hide "local signals" from Dbus registration
...
Directly using CAfvClient signals - a scenario we actually want to avoid
2019-10-18 10:36:24 +02:00
Klaus Basan
9dc287accb
[AFV] Ref T739, added a dialog for cockpit/audio so CAfvClient can be used in core UI
2019-10-18 10:36:24 +02:00
Klaus Basan
8d956436e7
[AFV] Ref T739, use the Audio base class with the shared CAfvClient functions
2019-10-18 10:36:24 +02:00
Klaus Basan
383352f79c
[AFV] Ref T739, remove implementation details from IContextAudio to keep the DBus interface "pure"
...
* This was an approach to avoid registration of "local signals"
* that part DID NOT work as planned, as all object's signals are registered
* the refactoring itself nevertheless is NOT a bad idea and has been kept
* as the audio context has this special "concept" and CAfvClient can run on both sides (proxy AND impl.side)
2019-10-18 10:36:23 +02:00
Klaus Basan
632a85d079
[AFV] changed AFV update rate to 20secs
2019-10-18 10:36:23 +02:00
Klaus Basan
8fb74f945b
[AFV] Ref T730, move voice settings into voice setup .h file
...
* same like we do for audio
* there was only one file in the settings subdir
2019-10-18 10:36:23 +02:00
Klaus Basan
58e2f35653
[AFV] Ref T730, use "%Application%" to split audio settings among core and UI
...
* both can have independent settings
* user report hanging core - this seems to fix it
2019-10-18 10:36:23 +02:00
Klaus Basan
6cbd2d9486
[AFV] Ref T739 remove unused old coreaudio arguments
2019-10-18 10:36:15 +02:00
Klaus Basan
a334b97ac6
[AFV] Ref T730, use callbacks for "connectTo", avoid EventLoop
...
* this is a pure asynchronous concept
* callbacks are called when network request "is done"
2019-10-16 17:40:33 +02:00
Klaus Basan
218c099456
[AFV] Ref T730, Ref T739, mutexes for some parts which still were NOT threadsafe
...
* connection object
* auto logoff if FSD terminates and voice client is still online
* "the server is full" is a good test case for the auto logoff,
FSD login fails, AFV login works, and needs to be terminated
IMPORTANT: using the mutex before login results in a situation where the EventLoop runs into a deadlock
See https://discordapp.com/channels/539048679160676382/623947987822837779/633338177922269224
2019-10-16 17:40:33 +02:00
Klaus Basan
1eb8ed463d
Minor UI glitch fixed
2019-10-16 17:40:32 +02:00
Klaus Basan
dc20359c76
Ref T741, typo
2019-10-16 17:40:32 +02:00
Klaus Basan
de75cdc214
[AFV] Ref T730 incorporated MS fixes
...
see https://discordapp.com/channels/539048679160676382/623947987822837779/633025547999510530
2019-10-16 17:40:32 +02:00
Klaus Basan
563e5d85be
Style
2019-10-16 17:40:32 +02:00
Klaus Basan
fc43199c32
[AFV] Ref T730, CPPCheck (e.g. virtual function call in ctor)
2019-10-16 17:40:32 +02:00
Roland Rossgotterer
abae20031d
[Linux] Package and install libsodium
2019-10-14 15:49:21 +02:00
Roland Rossgotterer
8616c0249e
Update externals
2019-10-14 15:47:04 +02:00
Klaus Basan
af2fb4933d
[AFV] Ref T730, init in/out dB values - avoid issue with unitialized values
2019-10-13 19:49:19 +02:00
Klaus Basan
7b368076ba
[AFV] Ref T730, make output buffer a pointer and avoid the buffer is connected multiple times with CAudioInputBuffer::frameAvailable
...
* discussion https://discordapp.com/channels/539048679160676382/623947987822837779/632921747171311616
* pass "whole" QAudioFormat to CAudioInputBuffer (not only channel count), maybe useful in future
* parent for buffer is required, removed default
2019-10-13 19:49:19 +02:00
Klaus Basan
e76bbbbca3
[AFV] Ref T730, COutput always needs a parent (threading) and minor adjustments
2019-10-13 16:47:42 +02:00
Klaus Basan
f4b22b839a
[AFV] Ref T730, utility functions to log QAudioFromat
2019-10-13 16:47:42 +02:00
Klaus Basan
73f191619a
[AFV] Ref T730, renamed to COutput
2019-10-13 16:47:41 +02:00
Klaus Basan
745eb01000
[AFV] Ref T730, pass channel count to input
2019-10-13 16:47:41 +02:00
Klaus Basan
f76448fbaf
[AFV] Ref T730, changed to "startedAudio" signal, relayed from CAfvClient (and not like before emitted in context)
...
Since start can be async (in another thread) it was possible the "old" signal was emitted too early
2019-10-13 16:47:41 +02:00
Klaus Basan
0a24d80291
[AFV], Ref T730 only startAudio and stopAudio
...
* start audio restarts if devices change
* restart no longer needed
* stop normally is only needed at the end of the lifetime of CAfvClient
* signal: startAudio
2019-10-13 16:47:41 +02:00
Klaus Basan
541ce76fb6
[AFV] Ref T730, check for same device
2019-10-13 16:47:41 +02:00
Klaus Basan
10a64c0330
[AFV] Ref T730, do NOT stop audio when disconnecting from FSD
...
* only disconnect from AFV server
* keep position tmer alive (preset values)
2019-10-13 16:47:41 +02:00
Klaus Basan
142be3cbd7
Ref T730, style
2019-10-13 16:47:41 +02:00