Commit Graph

8542 Commits

Author SHA1 Message Date
Klaus Basan
fbc1efd7c7 Ref T730, input/output
* style
* fload -> double
* CLogMessage
2019-10-11 19:00:01 +01:00
Klaus Basan
661a6576c5 Ref T730, AFV client
* restart function
* bogus mute function (needs implementation)
* float -> double
* log categories
* settings
2019-10-11 19:00:01 +01:00
Klaus Basan
835fdc478a Ref T730, adjusted audio device info/info list,
so it can be used with QAudioDeviceInfo
2019-10-11 19:00:00 +01:00
Klaus Basan
b9b3675073 Ref T730, log category for audio 2019-10-11 19:00:00 +01:00
Klaus Basan
2fed1e7e99 Ref T730, style 2019-10-11 18:59:59 +01:00
Klaus Basan
6071e77b7f Ref T730, removed voice room related funcions from audio context 2019-10-11 18:59:59 +01:00
Klaus Basan
81ade55cb5 Ref T730, added QT multimedia in some projects, as it is now needed in blackmisc 2019-10-11 18:59:58 +01:00
Klaus Basan
9bbb710823 Ref T730, changes of RR/KB testing dual channels and WSAPI issues 2019-10-11 18:59:57 +01:00
Klaus Basan
11275d3560 Ref T731, connected AFV client signals with UI 2019-10-11 18:59:57 +01:00
Klaus Basan
dc5cc4c7b0 Ref T730, changes for input sample buffer tests 2019-10-11 18:59:56 +01:00
Klaus Basan
6b19ed665e Ref T730, added settings in AFV client 2019-10-11 18:59:56 +01:00
Klaus Basan
7c765654c0 Ref T730, style
* avoid float, use double
* const correctness
* use fuzzyCompare for float/double
2019-10-11 18:59:55 +01:00
Klaus Basan
e21fdeb039 Ref T730, pass PTT key events to client
* currently passing from context to client, so context and client know the state
* PTT enum in own file so it can be reused
2019-10-11 18:59:55 +01:00
Klaus Basan
acde5e4f01 Ref T730, ATC station value object update 2019-10-11 18:59:53 +01:00
Klaus Basan
992d624c18 Ref T731, moved AFV station model and client to BlackCore::Afv
* the QML map can also be used in dialog
* ATC station list also can be used in BlackCore
2019-10-11 18:59:53 +01:00
Klaus Basan
66b02e61c5 Ref T730, directly use context from sApp
* using sApp->getIContextOwnAircraft()
* no need to pass context, avoid issues when shutting down
* minor style changes
2019-10-11 18:59:53 +01:00
Klaus Basan
99edc9cb13 Ref T730, code style, adding namespaces 2019-10-11 18:59:45 +01:00
Klaus Basan
329b1e8c9a Ref T731, moved QML map in dialog
* initial structure
* embedded a QQuickWidget in dialog
2019-10-11 18:59:13 +01:00
Roland Rossgotterer
cf6d60348e Decouple QAudioDevice buffer size from AFV 20 ms frame size
Different QAudioDevice plugins have different default buffer sizes. In 
order to cope with bigger buffer sizes than the expected 20 ms,
let the buffer be filled and push from it every 20 ms via timer.
2019-10-11 18:59:13 +01:00
Roland Rossgotterer
1deaf1ca8b Add volume sliders to AFV sample UI 2019-10-11 18:59:12 +01:00
Roland Rossgotterer
8d1eea25b1 Implement VolumeSampleProvider to gain in and output
fixup! Implement VolumeSampleProvider to gain in and output
2019-10-11 18:59:12 +01:00
Roland Rossgotterer
8b1fb1baca [AFV] Add method to read all aliased HF stations
ref T729
2019-10-11 18:59:11 +01:00
Klaus Basan
4a578110b0 Ref T731, adjusted audio settings for AFV and added functions in UI component 2019-10-11 18:59:11 +01:00
Klaus Basan
d944d0f6ee Do not play QSoundEffect while it is still playing
* added m_playEffect as flag
* hooked up signals to reset the flags
2019-10-11 18:59:10 +01:00
Klaus Basan
55f70a794e Style 2019-10-11 18:59:10 +01:00
Klaus Basan
74bea4959e Ref T731, UI components for notifications and volume/device
* changed version without voice rooms
* notifications only
* volume and devices
2019-10-11 18:59:09 +01:00
Klaus Basan
b3cceaa76b Ref T739, style 2019-10-11 18:59:09 +01:00
Roland Rossgotterer
cc3151ef6f Fix TransceiverDto::toJson 2019-10-11 18:59:09 +01:00
Roland Rossgotterer
44146353a6 Fix ApiServerConnection::postNoResponse 2019-10-11 18:59:08 +01:00
Roland Rossgotterer
acb5b11966 Finish demo UI and connect it to AFVClient
this includes:
- enable/disable check boxes, 
- ptt button
- loopback check box
- map zoom buttons
- showing the received callsign
- VHF effects checkbox
ref T731
2019-10-11 18:59:08 +01:00
Roland Rossgotterer
852247e893 Fix namespace 2019-10-11 18:59:08 +01:00
Roland Rossgotterer
7ac962ed77 Add methods to read received callsigns from AFV
ref T729
2019-10-11 18:59:07 +01:00
Roland Rossgotterer
d9dcadcffa Abort further AFV connection if authentication was failing
ref T729
2019-10-11 18:59:06 +01:00
Klaus Basan
a1281eff3f Ref T730, added jwt JSON token decoding for server connection 2019-10-11 18:59:06 +01:00
Klaus Basan
a37c9a8772 Ref T730, style 2019-10-11 18:59:05 +01:00
Klaus Basan
f9b73bf70e Ref T730, add QJsonWebToken for jwt token decoding 2019-10-11 18:59:05 +01:00
Klaus Basan
5e3b758e44 Ref T732, renamed to CFsdClient adjustments 2019-10-11 18:59:05 +01:00
Klaus Basan
a24d948acd Ref T732, FSDClient to CFsdClient + style 2019-10-11 18:59:04 +01:00
Klaus Basan
34d1e8268c Ref T730, OPUS de/encoder namespace 2019-10-11 18:59:03 +01:00
Klaus Basan
9809acd98c Ref T730, fixed some UTF-8 encoding issues 2019-10-11 18:59:03 +01:00
Klaus Basan
384aa3ce19 Ref T730, namespace for BlackCore::Afv
* added namespace
* removed some *.pri files and added files to blackcore.pro
* added copyright etc.
2019-10-11 18:59:02 +01:00
Klaus Basan
d064da13b5 Ref T730, use QScopedPointer for network replies (make sure to always clean up) 2019-10-11 18:59:01 +01:00
Klaus Basan
b7ad04df45 [externals] Ref T730, updated externals 2019-10-11 18:59:01 +01:00
Roland Rossgotterer
5062449ea9 Increase Observer range to 300 nm
According to CoC C8, OBS stations are allowed to have up to  300 nm
maximum range.
ref T724
2019-10-11 18:59:00 +01:00
Roland Rossgotterer
b5a2f2ad13 AFV initial commit before_afv 2019-10-11 18:58:47 +01:00
Roland Rossgotterer
7030302e73 Cleanup audio context
Remove unused methods
Make methods only used in CContextAudio private
2019-09-18 13:50:41 +02:00
Roland Rossgotterer
3937423075 Update externals 2019-09-18 13:49:58 +02:00
Roland Rossgotterer
acf540be34 Long live FsdClient 2019-09-18 13:49:37 +02:00
Roland Rossgotterer
fa6e7108c7 Propagate FacilityType and LoginMode to value objects 2019-09-17 17:29:25 +02:00
Roland Rossgotterer
4772aadc1a Replace INetwork::CConnectionStatus with proper value object 2019-09-17 17:29:25 +02:00