Roland Rossgotterer
a2e3700739
Replace QAudioDeviceInfo with CAudioDeviceInfo where possible
...
QAudioDeviceInfo is a low level technical class, which shouldn't be used in higher level code. Remove it from all APIs
where possible and just create it in order to interface with QAudio
2019-10-11 19:00:31 +01:00
Roland Rossgotterer
8656131eb1
Remove all obsolete vatlib voice classes
2019-10-11 19:00:31 +01:00
Klaus Basan
6111c428e9
Ref T730, style and removed "old voice code"
2019-10-11 19:00:30 +01:00
Roland Rossgotterer
8d84dcbe08
[AFV] Make sure all QObjects below AfvClient have a parent
2019-10-11 19:00:30 +01:00
Roland Rossgotterer
240df93406
[AFV] Change output format and processing to 32 bit float
...
32 bit float is what is used in C# reference and has a much higher
dynamic range. 16 bit integer was clipping very often with all the VHF
simulation applied.
2019-10-11 19:00:29 +01:00
Roland Rossgotterer
fbb126370c
[AFV] Use distance ratio 1.0 in loopback mode
...
Distance ratio 1.0 means same position as sending position, decreasing
ratio means increasing distance.
2019-10-11 19:00:29 +01:00
Roland Rossgotterer
bff4eeb416
[AFV] Update effects after adding new samples
...
This is necessary to regularly update the distance effects while moving
2019-10-11 19:00:29 +01:00
Roland Rossgotterer
574370579d
[AFV] Apply BiQuadFilters on float samples
2019-10-11 19:00:28 +01:00
Roland Rossgotterer
d757b8977f
[AFV] Reset pointer after stopping audio output
2019-10-11 19:00:27 +01:00
Roland Rossgotterer
df30a010b5
[AFV] Fix includes
2019-10-11 19:00:27 +01:00
Roland Rossgotterer
1f2d4a10b1
[AFV] Add HF simulation
2019-10-11 19:00:27 +01:00
Roland Rossgotterer
2c1067b27e
[AFV] Update CEqualizerSampleProvider to VHF 4.0
2019-10-11 19:00:24 +01:00
Klaus Basan
96669ea507
Ref T730, minor tweak to "better see FSD callsign"
2019-10-11 19:00:24 +01:00
Klaus Basan
91b65fa2b6
Ref T730, AFV client fixes
...
* correct quint32 for frequency
* make sure frequencies are not updated twice, only update position
* re-init transceivers if stopped and started again
2019-10-11 19:00:23 +01:00
Klaus Basan
5c56715c28
Ref T730, add AFV test server in "test server list"
2019-10-11 19:00:23 +01:00
Klaus Basan
cf6434f49b
Ref T730, fixed using wrong member "m_outputVolume", added new member "m_outputVolumeDb"
2019-10-11 19:00:23 +01:00
Klaus Basan
3ddded423a
Ref T730, style
2019-10-11 19:00:22 +01:00
Klaus Basan
09b38b4e6d
Ref T730, function to check range for input/output volume
2019-10-11 19:00:22 +01:00
Klaus Basan
905c487451
Ref T737, stop output device
2019-10-11 19:00:21 +01:00
Klaus Basan
7d04ca6435
Ref T730, register metatype so struct can be used with signals
...
Remark: Unregistered it only works for direct connections
2019-10-11 19:00:21 +01:00
Klaus Basan
bde7baf84d
Ref T730, style
2019-10-11 19:00:21 +01:00
Klaus Basan
c1470f6069
Ref T730, removed voice vatlib
2019-10-11 19:00:20 +01:00
Klaus Basan
5f6aebebe8
Ref T730, replaced uint array by vector to avoid memory leak
...
* the heap array was not deleted
* using QVector<uint> now
* const correctness
2019-10-11 19:00:20 +01:00
Klaus Basan
c3684a2f8c
Ref T731, added namespace for utility functions
2019-10-11 19:00:19 +01:00
Klaus Basan
9a4fe0ea48
Ref T732, improved simulator type resolution for network
2019-10-11 19:00:19 +01:00
Klaus Basan
e33e06b21e
Ref T730, style
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
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
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
7c89234f8c
Ref T730, callsign set used for received callsigns
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
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
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
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