Commit Graph

8556 Commits

Author SHA1 Message Date
Roland Rossgotterer
c2bc06da13 [AFV] Fixed int buffer overflow for Hz 2019-10-11 19:00:05 +01:00
Roland Rossgotterer
9f497c1b60 [AFV] Handle stereo in- and output devices 2019-10-11 19:00:05 +01:00
Klaus Basan
a06205efbd Ref T731, use CLevelMeter in CAudioDeviceVolumeSetupComponent 2019-10-11 19:00:05 +01:00
Klaus Basan
b5ad603e55 Ref T731, adjusted CLevelMeter for "our needs"
* low/high color
* peak level
2019-10-11 19:00:04 +01:00
Klaus Basan
80a96d37fc Ref T731, display TX/REC from AFV client in UI 2019-10-11 19:00:04 +01:00
Klaus Basan
088ef74392 Ref T730, swift style functions in AFC client
* COM unit related functions
* signal to indicate changed COM values
2019-10-11 19:00:04 +01:00
Klaus Basan
afd7881a90 Ref T730, ATC station properties for cross coupled ATC stations 2019-10-11 19:00:04 +01:00
Klaus Basan
840633749e Ref T731, simplified form of ATC station map 2019-10-11 19:00:03 +01:00
Klaus Basan
b26cde4ed5 Ref T731, style sheet for level meters 2019-10-11 19:00:03 +01:00
Klaus Basan
76fd0cfc91 Ref T731, display received callsigns 2019-10-11 19:00:03 +01:00
Klaus Basan
7c89234f8c Ref T730, callsign set used for received callsigns 2019-10-11 19:00:02 +01:00
Klaus Basan
5a19bbdb5e Ref T730, audio settings use 0..100 values, check the values 2019-10-11 19:00:02 +01:00
Klaus Basan
16a1f1a8a9 Ref T731, audio UI
* set settings from UI properly
* UI improvements
2019-10-11 19:00:02 +01:00
Klaus Basan
ced0004234 Ref T730, audio context (impl)
* removed voice room functions
* removed old voice classes
* aligned, so it can be used with CAfvClient
2019-10-11 19:00:01 +01:00
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