Commit Graph

82 Commits

Author SHA1 Message Date
Klaus Basan
d8ec308a3b [DBus] DBus related fixes
* use INT in CAudioDeviceInfo (minimum trouble)
* register metatype
* removed getSimulatorStatusEnum from DBus slots
2020-01-07 19:46:17 +00:00
Klaus Basan
32c6ef3fd6 [AFV, Ref T739 register device also based on process 2020-01-07 19:46:15 +00:00
Klaus Basan
134c805990 [AFV] Ref T739, device info improvements
* registration
* use identifier in device info list
* propertyByIndex/compareByIndex
* unRegisterDevices
2020-01-07 19:46:15 +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
0bdc124c8f [AFV] Ref T730 check function for same devices 2019-10-18 10:36:25 +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
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
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
8fb74f945b [AFV] Ref T730, move voice settings into voice setup .h file
* same like we do for audio
* there was only one file in the settings subdir
2019-10-18 10:36:23 +02:00
Klaus Basan
58e2f35653 [AFV] Ref T730, use "%Application%" to split audio settings among core and UI
* both can have independent settings
* user report hanging core - this seems to fix it
2019-10-18 10:36:23 +02:00
Klaus Basan
541ce76fb6 [AFV] Ref T730, check for same device 2019-10-13 16:47:41 +02:00
Klaus Basan
e455d153ee [AFV] Ref T730, make sure device is "valid" 2019-10-13 16:47:40 +02:00
Klaus Basan
e109106102 Ref T739, functions to register devices (will be used by DBus/proxy) 2019-10-11 19:00:53 +01:00
Klaus Basan
47475f1a18 Ref T730, allow to specify a default value -> findByNameOrDefault 2019-10-11 19:00:50 +01:00
Klaus Basan
2123529fd8 Ref T730, Ref T731 update voice server setup to AfV URLs (formerly UDP ports) 2019-10-11 19:00:45 +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
7e36e67f89 Ref T739, removed voice room value objects 2019-10-11 19:00:35 +01:00
Roland Rossgotterer
18ec101391 Don't push duplicated audio devices into the list 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
c759d45bb0 [AFV] Remove obsolete VVL device index from CAudioDeviceInfo 2019-10-11 19:00:31 +01:00
Klaus Basan
30158975b6 Ref T731, correctly set "disable VHF simulation" checkbox 2019-10-11 19:00:23 +01:00
Klaus Basan
09b38b4e6d Ref T730, function to check range for input/output volume 2019-10-11 19:00:22 +01:00
Klaus Basan
b207c9c944 Ref T730, adjusted audio settings for new notification sounds
* utility functions, find most appropriate file
* PTT blocked, removed voice rooms
2019-10-11 19:00:16 +01:00
Klaus Basan
5a19bbdb5e Ref T730, audio settings use 0..100 values, check the values 2019-10-11 19:00:02 +01:00
Klaus Basan
835fdc478a Ref T730, adjusted audio device info/info list,
so it can be used with QAudioDeviceInfo
2019-10-11 19:00:00 +01:00
Klaus Basan
2fed1e7e99 Ref T730, style 2019-10-11 18:59:59 +01:00
Klaus Basan
6b19ed665e Ref T730, added settings in AFV client 2019-10-11 18:59:56 +01:00
Klaus Basan
e21fdeb039 Ref T730, pass PTT key events to client
* currently passing from context to client, so context and client know the state
* PTT enum in own file so it can be reused
2019-10-11 18:59:55 +01:00
Klaus Basan
4a578110b0 Ref T731, adjusted audio settings for AFV and added functions in UI component 2019-10-11 18:59:11 +01:00
Roland Rossgotterer
acf540be34 Long live FsdClient 2019-09-18 13:49:37 +02:00
Mat Sutcliffe
668a77d083 Ref T689 Settings validation can produce more descriptive error messages. 2019-09-16 22:40:05 +01:00
Roland Rossgotterer
2d8cc4a055 Define static constexpr int in source file
This fixes a linker error.
2019-09-16 22:40:00 +01:00
Klaus Basan
d509b1eb09 Ref T604, remember last audio volume
* adjust setting
* save setting
2019-09-16 20:29:46 +01:00
Klaus Basan
a764a2de7e Added value for notification volume in sound setting 2019-05-13 11:20:49 +02:00
Klaus Basan
e4b0655129 Ref T644, allow to fetch notifications sounds from an arbitrary directory
* added settings
* utility functions
2019-05-13 11:20:48 +02:00
Mat Sutcliffe
d29576b67a Ref T552 Register value classes with qRegisterMetaTypeStreamOperators. 2019-04-12 13:57:17 +01:00
Mat Sutcliffe
a366ad8943 Added with() and withValidation() methods in CLogCategoryList. 2019-04-12 13:30:54 +01:00
Mat Sutcliffe
c05a32dbd4 Ref T545 Using constructor inheritance in derived container classes. 2019-04-12 13:30:51 +01:00
Roland Rossgotterer
db861569ef Move grouped Notifications out of NotificationFlag enum
Those were convenience helpers that do not belong to the enum itself.
2019-04-11 22:11:50 +01:00
Roland Rossgotterer
d5b3a336dd Move Notification sounds into CNotificationPlayer 2019-04-11 22:11:50 +01:00
Klaus Basan
46f69217c0 Doxygen comments 2019-04-11 22:11:49 +01:00
Klaus Basan
8c83020b92 Ref T567, PTT click also on key up
* added sound
* UI component
2019-04-11 22:11:45 +01:00
Klaus Basan
244c7e638a Ref T565, setup and support for "no audio transmission" sound
* UI, added checkbox for "no audio tx"
* added in audio settings
* added in sound generator
2019-04-11 22:11:42 +01:00
Klaus Basan
5ac1f65756 Ref T565, "canTalk" utility functions 2019-04-11 22:11:42 +01:00
Mat Sutcliffe
e9a4c49d68 Ref T547 Update license masthead in all source code files. 2019-02-22 20:36:43 +00:00
Klaus Basan
25032c6210 Ref T535, settings for supervisor message 2019-02-22 20:36:11 +00:00
Klaus Basan
a01f2e36a0 Ref T535, added supervisor notifcation sound 2019-02-22 20:36:11 +00:00
Mat Sutcliffe
fe7a45afcf Ref T516 Update CStatusMessage call sites to use new syntax. 2019-02-22 20:35:51 +00:00
Klaus Basan
90b893c62a Ref T494, moved audio settings Trait directly info BlackMisc settings file 2019-02-22 20:35:07 +00:00
Klaus Basan
f8c17e10e8 Ref T494, CNotificationSounds refactring
* use Q_DECLARE_FLAGS NotificationFlag/Notification for sounds, not the weird version from very early swift days
* splt into h/cpp files
* added new sounds
2019-02-22 20:35:06 +00:00