Klaus Basan
a63fe0dc21
[AFV] Ref T739, unified callsign functions in CAfvClient
...
* improved CallsignSet from QStringList
* renamed the functions which just return a string
* added functions for CCallsignSet
2019-10-23 00:38:26 +02:00
Klaus Basan
ca60dbfa4d
[AFV] Ref T730, allow to disconnect even if socket is down
2019-10-23 00:38:26 +02:00
Klaus Basan
148824429c
Doxygen, style
2019-10-23 00:38:26 +02:00
Klaus Basan
67840b53c7
[FSD] Ref T753, avoid ":" in FPs
...
Also avoid unnecessary roundtrips of UI updates
2019-10-23 00:38:26 +02:00
Klaus Basan
164e9a3306
[AFV] Ref T730, fixed some FSD client issues
...
* socket error signal (can be used for further actions)
* socket error logs as CLogMessage::error
* handle socket errors in own function, disconnect for severe error
* send homebase at login
2019-10-23 00:38:26 +02:00
Klaus Basan
7428cb0819
[AFV], Ref T730 play audio "tuned in"/"out"
...
Replaces the former voice room connected sounds
2019-10-23 00:38:26 +02:00
Klaus Basan
be99911372
Style, minor adjustments
2019-10-23 00:38:26 +02:00
Klaus Basan
97eb8880a8
Doxygen, style
2019-10-23 00:38:26 +02:00
Klaus Basan
49272d3b1c
[AFV] Ref T739, use QMutex::Recursive to avoid deadlock in same thread
2019-10-23 00:38:25 +02:00
Klaus Basan
4f4474336d
[FSD], use consolidateTextMessage again
2019-10-23 00:38:25 +02:00
Klaus Basan
3552d02114
[FSD], use consolidateTextMessage again
2019-10-23 00:38:24 +02:00
Klaus Basan
afe72b029f
Doxygen/style
2019-10-23 00:38:24 +02:00
Klaus Basan
7a1b5a0237
Minor FSD client text message handling fixes
2019-10-19 02:41:26 +02:00
Klaus Basan
f26b85f493
[AFV] Test server for AFV no longer exists
2019-10-19 00:15:25 +02:00
Klaus Basan
607256d4b8
[AFV] Ref T730, changed qDebug to CLogMessage
2019-10-18 22:41:38 +02:00
Klaus Basan
aaa5fc259a
Doxygen
2019-10-18 12:10:55 +02:00
Klaus Basan
b88bdee405
[AFV] Ref T739, verify devices
2019-10-18 10:36:34 +02:00
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
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
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
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
5fc173786d
Doxygen
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
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
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
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
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