Commit Graph

16 Commits

Author SHA1 Message Date
Mat Sutcliffe
eb6b0ff289 Fix clang-tidy and clazy warnings 2021-08-29 17:02:27 +01:00
Mat Sutcliffe
670b1a1986 Fix cppcheck and compiler warnings 2020-06-29 18:34:16 +01:00
Klaus Basan
1266ca53ce [experimental, audio] try to avoid taskbar MIC flickering
* sometimes the MIC icon in the windows task bar is flickering (on/off)
* this workaround tries to avoid this
2020-06-12 18:42:25 +01:00
Klaus Basan
091fa5f338 [Audio] Get/set audio device volume (this is the device's value, NOT the logical AFV value) 2020-01-07 19:57:23 +00:00
Klaus Basan
a9a772c929 [AFV] Ref T739, audio context default device handling 2020-01-07 19:05:42 +00:00
Klaus Basan
aed1103ce6 [AFV] Ref T739, default device handling
* renamed some device list functions
* improved default device handling
2020-01-07 19:05:42 +00:00
Klaus Basan
9959b12b9d [AFV] Ref T739, encapsulate defaultXXDevice calls
* based on bug: https://bugreports.qt.io/plugins/servlet/mobile#issue/QTBUG-55631
* approach: avoid calls to default device (did not work out)
* kept encapsulation as it easier allows to text/apply workarounds
2019-10-18 10:36:25 +02:00
Klaus Basan
f4b22b839a [AFV] Ref T730, utility functions to log QAudioFromat 2019-10-13 16:47:42 +02:00
Klaus Basan
e455d153ee [AFV] Ref T730, make sure device is "valid" 2019-10-13 16:47:40 +02:00
Klaus Basan
89725c3bb4 Ref T730, also return an output device if there is no exact match 2019-10-11 19:00:32 +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
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
574370579d [AFV] Apply BiQuadFilters on float samples 2019-10-11 19:00:28 +01:00
Klaus Basan
c3684a2f8c Ref T731, added namespace for utility functions 2019-10-11 19:00:19 +01:00
Roland Rossgotterer
9f497c1b60 [AFV] Handle stereo in- and output devices 2019-10-11 19:00:05 +01:00
Roland Rossgotterer
b5a2f2ad13 AFV initial commit 2019-10-11 18:58:47 +01:00