Commit Graph

8868 Commits

Author SHA1 Message Date
Klaus Basan
9d4a821389 Ref T731, CResourceSound fixed
* avoid memory leak, wav file is only locally needed
* remember file name
2019-10-11 19:00:17 +01:00
Klaus Basan
197854e7de Ref T731, removed unused UI components 2019-10-11 19:00:16 +01:00
Klaus Basan
b207c9c944 Ref T730, adjusted audio settings for new notification sounds
* utility functions, find most appropriate file
* PTT blocked, removed voice rooms
2019-10-11 19:00:16 +01:00
Klaus Basan
e33e06b21e Ref T730, style 2019-10-11 19:00:15 +01:00
Klaus Basan
bed49ff072 Ref T730, renamed sound files 2019-10-11 19:00:15 +01:00
Klaus Basan
0853cc174c Ref T730, use getFsdCallsignString() in FSD client where applicable 2019-10-11 19:00:15 +01:00
Klaus Basan
dcfe275cc1 Ref T730, adjusted airspace monitor and ATC model
* added cross coupled in model
* "disabled" onAtisVoiceRoomReceived
2019-10-11 19:00:14 +01:00
Klaus Basan
e560be65a6 Ref T730, stop input/output if object is destroyed 2019-10-11 19:00:14 +01:00
Klaus Basan
5eb3dee829 Ref T730, FSD callsign string function, addressing the "*EDDF_TWR" issue 2019-10-11 19:00:14 +01:00
Klaus Basan
ca26ddd225 Ref T730, some adjustments in CFSDClient
* avoid return if value is meant to be in statistics
* removed qFatal, replaced by warning/BLACK_VERIFY
2019-10-11 19:00:14 +01:00
Klaus Basan
6a9109bf8f Ref T730, style 2019-10-11 19:00:14 +01:00
Klaus Basan
cd58108bfe [AFV] Ref T730, reload settings after starting audio so they are applied 2019-10-11 19:00:06 +01:00
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