Lars Toenning
8b5d02c62b
Use QRecursiveMutex
...
QMutex with QMutex::Recursive is deprecated
2022-06-20 23:38:48 +02:00
Lars Toenning
c0efc9ea81
Clean up includes
2022-05-25 19:47:34 +01:00
Lars Toenning
594f589a64
Issue #134 Fix double free crash on exit
...
The destructor of CThreadedTonePairPlayer was called twice:
- after the local stack-variable of CSelcalPlayer got out of scope.
- again as part of the CContinuousWorker/DeferredDelete
2022-02-01 18:19:06 +00:00
Lars Toenning
154a1c803f
Use =default for default constructor
2022-02-01 18:19:05 +00:00
Mat Sutcliffe
57d32da826
Use nested namespaces (C++17 feature)
2021-09-18 15:07:48 +01:00
Mat Sutcliffe
eb6b0ff289
Fix clang-tidy and clazy warnings
2021-08-29 17:02:27 +01:00
Mat Sutcliffe
0590699452
Issue #111 New notification sounds
2021-08-21 18:38:55 +01:00
Mat Sutcliffe
33209fa1eb
Use std::as_const (C++17 feature)
2021-07-13 17:56:31 +01:00
Mat Sutcliffe
8e065a8fef
Issue #77 Factor out parts of CDirectoryUtils into CSwiftDirectories
...
CDirectoryUtils is utilities for manipulating directories.
CSwiftDirectories is getters that return directories used by swift.
2020-08-29 14:16:12 +01:00
Mat Sutcliffe
0c78c187f8
Issue #77 Style
2020-08-28 00:45:27 +01:00
Mat Sutcliffe
2ae0352e75
[doxygen] Fix broken groupings
2020-08-01 19:48:37 +01:00
Mat Sutcliffe
670b1a1986
Fix cppcheck and compiler warnings
2020-06-29 18:34:16 +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
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
dab907df8c
Graceful shutdown of SELCAL player with audio context
2020-06-12 18:42:41 +01:00
Klaus Basan
651e6bdacf
Stop audio output for SELCAL player during shutdown
2020-06-12 18:42:39 +01:00
Klaus Basan
5718f95819
Tone player "myself" guard
2020-06-12 18:42:38 +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
Mat Sutcliffe
1f0c65135d
Use qmake $$files function to match wildcards
...
See https://bugreports.qt.io/browse/QTBUG-81003
2020-01-07 19:57:24 +00: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
72334af1e8
[Notification] Make sure no sound is stopped in QTimer::singleShot which is no longer playing
2020-01-07 19:57:20 +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
767aab6592
Style, Doxygen
2019-10-23 00:38:27 +02:00
Klaus Basan
003788c89b
Style
2019-10-23 00:38:26 +02:00
Klaus Basan
88ff7ff758
[AFV] Ref T739, added ATC tuned in/out
2019-10-18 22:51:17 +02:00
Klaus Basan
7cfcc61bd3
Doxygen/style, test for div/0
2019-10-18 16:35:39 +02:00
Klaus Basan
aaa5fc259a
Doxygen
2019-10-18 12:10:55 +02:00
Klaus Basan
59baf237cc
[AFV] Ref T730, added notification files for "station tuned in"
...
Those will be a replacement for the "joined voice room"
2019-10-18 10:36:25 +02:00
Klaus Basan
1fe2109a89
[AFV] Ref T730, allow to set AFV notifcation sounds in AFV settings
2019-10-18 10:36:25 +02:00
Klaus Basan
3a469d4654
[AFV] Ref T730, bring back swift PTT click sounds
2019-10-18 10:36:25 +02: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
79f8e1b959
[AFV] Ref T739, CPPCheck fixes
2019-10-18 10:36:24 +02:00
Klaus Basan
de75cdc214
[AFV] Ref T730 incorporated MS fixes
...
see https://discordapp.com/channels/539048679160676382/623947987822837779/633025547999510530
2019-10-16 17:40:32 +02:00
Klaus Basan
fc43199c32
[AFV] Ref T730, CPPCheck (e.g. virtual function call in ctor)
2019-10-16 17:40:32 +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
ee1456ba37
[AFV} Ref T730, fixed CPPCheck issues and Artistic style applied
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
Mat Sutcliffe
a726c7709e
[AFV] Fixed compiler warning
2019-10-13 00:16:07 +02:00
Klaus Basan
7e22318a6e
[AFV] Ref T730, made OPUS decoder not copyable/assignable (avoid resource conflicts)
2019-10-11 19:40:42 +01: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
30d764d72c
Style
2019-10-11 19:00:51 +01:00
Roland Rossgotterer
8367559713
Doxygen
2019-10-11 19:00:51 +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
Klaus Basan
401c89aa63
Ref T730, style and log messages
2019-10-11 19:00:42 +01:00