Commit Graph

14 Commits

Author SHA1 Message Date
Klaus Basan
886ae4cf68 [AFV] style, const, formatting 2019-10-13 16:47:40 +02:00
Klaus Basan
857e3581b0 Ref T730, style
* set object name
* use m_XYZ member name
2019-10-11 19:00:43 +01:00
Roland Rossgotterer
90e87835fc [AFV] Select audio device based on situational need
For AFV itself, a low latency device is required (which on Windows most likely will pick WASAPI).
For notifications and effects, the most compatible device is required (which on Windows will most likely fall back to QWindowsAudio).
2019-10-11 19:00:32 +01:00
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
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
d757b8977f [AFV] Reset pointer after stopping audio output 2019-10-11 19:00:27 +01:00
Klaus Basan
905c487451 Ref T737, stop output device 2019-10-11 19:00:21 +01:00
Klaus Basan
e33e06b21e Ref T730, style 2019-10-11 19:00:15 +01:00
Roland Rossgotterer
9f497c1b60 [AFV] Handle stereo in- and output devices 2019-10-11 19:00:05 +01:00
Klaus Basan
fbc1efd7c7 Ref T730, input/output
* style
* fload -> double
* CLogMessage
2019-10-11 19:00:01 +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
99edc9cb13 Ref T730, code style, adding namespaces 2019-10-11 18:59:45 +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
Roland Rossgotterer
b5a2f2ad13 AFV initial commit 2019-10-11 18:58:47 +01:00