Lars Toenning
0db0c16668
refactor: Rename BlackConfig to swift::config
2024-11-11 13:02:35 +01:00
Lars Toenning
5266cc1909
refactor: Port to Qt 6
2024-11-09 08:15:44 +01:00
Lars Toenning
bcc4bdd31e
Add SPDX identifiers for REUSE compliance
...
Co-authored-by: Mat Sutcliffe <oktal3700@gmail.com >
2023-10-03 09:29:49 +02:00
Lars Toenning
970b7c3650
clang-format src
2023-04-18 16:07:19 +02:00
Mat Sutcliffe
7691e42a5b
Fix doxygen warnings
...
Fixes #188
2023-04-05 18:57:11 +02:00
Mat Sutcliffe
a592bb2bbe
Include style
2021-09-18 15:07:49 +01:00
Mat Sutcliffe
57d32da826
Use nested namespaces (C++17 feature)
2021-09-18 15:07:48 +01:00
Lars Toenning
c1b75f7532
Issue #100 Seperate COM1/2 output volumes
2021-09-03 17:43:02 +01:00
Mat Sutcliffe
eb6b0ff289
Fix clang-tidy and clazy warnings
2021-08-29 17:02:27 +01:00
Mat Sutcliffe
33209fa1eb
Use std::as_const (C++17 feature)
2021-07-13 17:56:31 +01:00
Mat Sutcliffe
371c1f4f7c
Issue #77 Break cyclic dependency between CLogCategory and numerous classes
2020-12-19 18:50:34 +00:00
Mat Sutcliffe
63e8de8f00
Issue #77 getLogCategories returns a simple QStringList instead of our own class
2020-12-19 18:50:34 +00:00
Mat Sutcliffe
2ae0352e75
[doxygen] Fix broken groupings
2020-08-01 19:48:37 +01:00
Klaus Basan
9e6716e515
[AFV] Allow to log. input receiver
2020-06-12 18:42:54 +01:00
Klaus Basan
f2e0e7b22e
[AFV] Renamed to "setGainRatio" as the value does not represent a volume, but a multiplier
2020-06-12 18:42:53 +01:00
Klaus Basan
8848faadfa
[AFV] Disabled the device output functions (not used)
...
Remark: might be used in AFV client, hence kept
2020-06-12 18:42:53 +01:00
Klaus Basan
7d51bedc3e
[AFV] misc style issues:
...
* object name
* simple style fixes
* some renamings
* comments
2020-06-12 18:42:53 +01:00
Klaus Basan
b63e127b13
[AFV] Verbose logging only for dev.builds
2020-06-12 18:42:44 +01:00
Klaus Basan
f9bc5ceec4
Trivial
2020-01-22 19:46:14 +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
a63fe0dc21
[AFV] Ref T739, unified callsign functions in CAfvClient
...
* improved CallsignSet from QStringList
* renamed the functions which just return a string
* added functions for CCallsignSet
2019-10-23 00:38:26 +02:00
Klaus Basan
be99911372
Style, minor adjustments
2019-10-23 00:38:26 +02:00
Klaus Basan
97eb8880a8
Doxygen, style
2019-10-23 00:38:26 +02:00
Klaus Basan
607256d4b8
[AFV] Ref T730, changed qDebug to CLogMessage
2019-10-18 22:41:38 +02:00
Klaus Basan
b88bdee405
[AFV] Ref T739, verify devices
2019-10-18 10:36:34 +02:00
Klaus Basan
a8c7575d9d
Style
2019-10-18 10:36:25 +02:00
Klaus Basan
7fdc2c3db3
[AFV] Ref T730, changed/added settings for AFV and allow still to use old swift notifications
2019-10-18 10:36:25 +02:00
Klaus Basan
563e5d85be
Style
2019-10-16 17:40:32 +02:00
Klaus Basan
7b368076ba
[AFV] Ref T730, make output buffer a pointer and avoid the buffer is connected multiple times with CAudioInputBuffer::frameAvailable
...
* discussion https://discordapp.com/channels/539048679160676382/623947987822837779/632921747171311616
* pass "whole" QAudioFormat to CAudioInputBuffer (not only channel count), maybe useful in future
* parent for buffer is required, removed default
2019-10-13 19:49:19 +02:00
Klaus Basan
e76bbbbca3
[AFV] Ref T730, COutput always needs a parent (threading) and minor adjustments
2019-10-13 16:47:42 +02:00
Klaus Basan
73f191619a
[AFV] Ref T730, renamed to COutput
2019-10-13 16:47:41 +02:00
Klaus Basan
745eb01000
[AFV] Ref T730, pass channel count to input
2019-10-13 16:47:41 +02:00
Klaus Basan
886ae4cf68
[AFV] style, const, formatting
2019-10-13 16:47:40 +02:00
Klaus Basan
a9166d4e4c
[AFV] Ref T730, improved volume handling
...
* for the asymmetric output volume -60/18dB, make sure that normalized 50 means 0dB
* slider is centered
* return value if value for volume was changed
2019-10-13 16:47:40 +02:00
Roland Rossgotterer
11ee2413b5
Doxygen
2019-10-11 19:40:42 +01:00
Klaus Basan
30baa12a86
Ref T730, CPP check issues fixed
2019-10-11 19:40:41 +01:00
Roland Rossgotterer
4827c0e4ab
[AFV] Request permission to access microphone on MacOS
2019-10-11 19:00:47 +01:00
Klaus Basan
c842820267
Ref T730, consider settings for clikc/block sounds and log categories
2019-10-11 19:00:45 +01:00
Klaus Basan
ca90a225e1
Ref T730, removed unused timer code in input
2019-10-11 19:00:45 +01:00
Klaus Basan
713d2ee626
Ref T730, Ref T739 avoid timer stopping issue during shutdown
...
* use timer with parent
* avoid QObject::~QObject: Timers cannot be stopped from another thread
* see https://discordapp.com/channels/539048679160676382/623947987822837779/630521007056224286
2019-10-11 19:00:44 +01: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
b8661918d7
[AFV] Finalize blocking tone
...
Blocking tone is emitted if more than one station is received
in parallel.
2019-10-11 19:00:40 +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
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