Lars Toenning
a203fc0c1f
refactor: Remove unused PTT enum
...
Currently, the PTT can only be activated on the active frequency
anyway.
2024-04-24 22:51:55 +02:00
Lars Toenning
5e0f3a05d3
refactor: Read AFV URLs from bootstrap.json
...
This also removes the possibility to change the URL on the fly via the
UI.
Fixes #257
2024-02-18 16:33:16 +01:00
Lars Toenning
b57dfa1cb8
Remove unused "no audio transmission" notification sound
...
Related to #156
2023-11-16 11:45:06 +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
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
cedaa48f5a
Issue #120 Remove separate PTT COM1/COM2 hotkeys
2021-09-14 00:07:01 +02:00
Lars Toenning
8763180a41
Fix typo
2021-09-14 00:07:01 +02:00
Lars Toenning
6564c93ae6
Issue #100 Add hotkeys to change COM volume
2021-09-05 12:00:59 +02:00
Lars Toenning
4b37c5ca30
Issue #100 Add slider for master output volume
2021-09-05 11:24:34 +02:00
Lars Toenning
c1b75f7532
Issue #100 Seperate COM1/2 output volumes
2021-09-03 17:43:02 +01: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
802576eda9
Issue #77 Rename
2020-08-29 14:16:11 +01:00
Mat Sutcliffe
92edbb90c2
Issue #77 Refactor to inline functions
2020-08-29 14:16:10 +01:00
Klaus Basan
6fc3d55d9a
Fixed mute handling and audio LED
...
* AFV client has own "changedMute" signal
* unmute if started/stopped AFC client
* in statusbar also check audio start/stop to refresh LEDs
* see https://discordapp.com/channels/539048679160676382/539486309882789888/713491666971000872
2020-06-12 18:42:57 +01:00
Klaus Basan
bba07ef4c4
[AFV] Signal/handling for authentication failures
...
* authentication issues in AFV were silently handled
* and there was no re-try, which could mean an initial glitch COULD cause AFV not working properly
* NOW handling in AFV client and context
* also reset connection data so for a new session no old authentication token or check time is used
* check for "invalid" QDateTime(s)
2020-06-12 18:42:54 +01:00
Klaus Basan
32605cd557
[AFV] Finer granularity for inc./dec. volume (hotkey)
2020-06-12 18:42:53 +01:00
Klaus Basan
ea8198d26e
[AFV] Allow to set the tx/rx values for the AFV client
...
Simplified function
2020-06-12 18:42:46 +01:00
Klaus Basan
e13dcd7d7d
Fix for graceful shutdown to avoid "nullptr" issue
...
see https://discordapp.com/channels/539048679160676382/539925070550794240/694331123643187232
2020-06-12 18:42:42 +01:00
Klaus Basan
dab907df8c
Graceful shutdown of SELCAL player with audio context
2020-06-12 18:42:41 +01:00
Klaus Basan
7d4e897b88
[AFV] Displayed sync. (integrated with COM unit) flag in cockpit
2020-06-12 18:42:40 +01:00
Klaus Basan
7f4a68eb45
[WASAPI] another WASAPI fix trial
...
* disabled the initWindowsAudioDevices call as it seems to be pointless
* changed the order in CContextAudioBase::initVoiceClient
* init CAudioDeviceInfoList::allDevices BEFORE CAfvClient
see https://discordapp.com/channels/539048679160676382/539925070550794240/687769623827185671
2020-06-12 18:42:37 +01:00
Klaus Basan
4d5e3ee0ae
Init context devices deferred as the settings are ONLY available after DBus is initialized
...
* we init in a context constructor
* a this time it is not clear:
** if we will use a DBus scenario
** or standalone scenario
2020-01-22 19:46:14 +01:00
Klaus Basan
5542fcd7d3
Unified how settings are read in audio context
2020-01-18 02:46:56 +01:00
Klaus Basan
f8e8318902
Log.category for FSD and minor style changes
2020-01-07 19:57:27 +00:00
Klaus Basan
efee7968dc
[AFV] Using the aliased frequencies can be enabled/disabled
...
* flag
* "dot command"
* register audio "dot commands" for audio
2020-01-07 19:57:20 +00:00
Klaus Basan
0a1835f1a5
[AFV] Ref T739, register used AFV callsigns
...
For core/GUI we need to register with 2 different callsigns
2020-01-07 19:46:17 +00:00
Klaus Basan
87f078a698
[AFV] Ref T731, Ref T739 register devices so we can also obtain remote devices
2020-01-07 19:46:15 +00:00
Klaus Basan
275173c383
[Doxygen] workaround to silence audio context Doxygen error, no idea why this was wrong
2020-01-07 19:05:43 +00:00
Klaus Basan
a9a772c929
[AFV] Ref T739, audio context default device handling
2020-01-07 19:05:42 +00:00
Klaus Basan
5150fb4e86
[AFV] Ref T739, cmd.line args for "no audio"
2020-01-07 19:05:42 +00:00
Klaus Basan
9447db00bc
[AFV] Ref T739, audio can now be disabled from UI
2020-01-07 19:05:41 +00:00
Klaus Basan
767b999330
[AFV] Ref T739, start/stop audio improvements
...
* signals
* "restart" without devices
2020-01-07 19:05:40 +00:00
Klaus Basan
6e42889ecb
[AFV], Ref T730 only use AFV with VATSIM ecosystem
2019-10-23 00:38:26 +02: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
2dbe8464f4
[AFV] Ref T739, CoInitializeEx main thread of CAfvClient
2019-10-18 10:36:24 +02:00
Roland Rossgotterer
2362e25593
[AFV] Add client version to API auth
2019-10-18 10:36:24 +02:00
Klaus Basan
725a798cba
[AFV] Ref T739, removed unused code
2019-10-18 10:36:24 +02:00
Klaus Basan
8ecfd8f23d
Ref T739, workaround to hide "local signals" from Dbus registration
...
Directly using CAfvClient signals - a scenario we actually want to avoid
2019-10-18 10:36:24 +02:00
Klaus Basan
383352f79c
[AFV] Ref T739, remove implementation details from IContextAudio to keep the DBus interface "pure"
...
* This was an approach to avoid registration of "local signals"
* that part DID NOT work as planned, as all object's signals are registered
* the refactoring itself nevertheless is NOT a bad idea and has been kept
* as the audio context has this special "concept" and CAfvClient can run on both sides (proxy AND impl.side)
2019-10-18 10:36:23 +02:00
Klaus Basan
f76448fbaf
[AFV] Ref T730, changed to "startedAudio" signal, relayed from CAfvClient (and not like before emitted in context)
...
Since start can be async (in another thread) it was possible the "old" signal was emitted too early
2019-10-13 16:47:41 +02:00
Klaus Basan
10a64c0330
[AFV] Ref T730, do NOT stop audio when disconnecting from FSD
...
* only disconnect from AFV server
* keep position tmer alive (preset values)
2019-10-13 16:47:41 +02:00
Klaus Basan
142be3cbd7
Ref T730, style
2019-10-13 16:47:41 +02:00
Klaus Basan
3880de5e0c
[AFV] Ref T730, added graceful shutdown in AFV client itself
...
Also disconnect from network during "shutdown"
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
b929eb442a
[AFV] CContextAudio::m_voiceClient is a raw pointer, and CAfvClient doesn't have a parent
2019-10-11 19:40:43 +01:00
Klaus Basan
2468b2ee49
[AFV] Ref T739, fixed typos, style and Doxygen in contexts
2019-10-11 19:40:43 +01:00
Roland Rossgotterer
01d144b528
[AFV] Hide AFV client behind context
2019-10-11 19:00:52 +01:00
Klaus Basan
11a3fa873d
Ref T730, Ref T739, first implementation of "Mute" for CAfvClient
2019-10-11 19:00:51 +01:00