Commit Graph

405 Commits

Author SHA1 Message Date
Mat Sutcliffe
6eb008c0a0 [FSD] Use forward declaration to reduce header interdependency 2019-10-11 19:00:38 +01:00
Roland Rossgotterer
d3a1eb1d60 [AFV] First version of threaded CAfvClient 2019-10-11 19:00:38 +01:00
Klaus Basan
66ea77d25f Ref T739, removed voice room functions from context and UI 2019-10-11 19:00:37 +01:00
Klaus Basan
2a7633dc31 Ref T739, removed no longer used audio proxy functions (slots) 2019-10-11 19:00:36 +01:00
Klaus Basan
b3d8eddb26 Ref T739, empty context removed
Empty context will not work, as it would init a new audio client just before shutting down
2019-10-11 19:00:36 +01:00
Klaus Basan
ce772baf79 Ref T739, moved code for voice client to IContextAudio
* code can be used on both sides (UI/core)
* the lots become normal public functions
* the slots will be used for new DBus functions
2019-10-11 19:00:36 +01:00
Klaus Basan
09e65a2525 Ref T739, renamed CContext -> IContext
This reflects the purpose better, it is a base class for all context interfaces
2019-10-11 19:00:35 +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
8656131eb1 Remove all obsolete vatlib voice classes 2019-10-11 19:00:31 +01:00
Klaus Basan
6111c428e9 Ref T730, style and removed "old voice code" 2019-10-11 19:00:30 +01:00
Klaus Basan
cf6434f49b Ref T730, fixed using wrong member "m_outputVolume", added new member "m_outputVolumeDb" 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
bde7baf84d Ref T730, style 2019-10-11 19:00:21 +01:00
Klaus Basan
c1470f6069 Ref T730, removed voice vatlib 2019-10-11 19:00:20 +01:00
Klaus Basan
ced0004234 Ref T730, audio context (impl)
* removed voice room functions
* removed old voice classes
* aligned, so it can be used with CAfvClient
2019-10-11 19:00:01 +01:00
Klaus Basan
6071e77b7f Ref T730, removed voice room related funcions from audio context 2019-10-11 18:59:59 +01:00
Klaus Basan
11275d3560 Ref T731, connected AFV client signals with UI 2019-10-11 18:59:57 +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
66b02e61c5 Ref T730, directly use context from sApp
* using sApp->getIContextOwnAircraft()
* no need to pass context, avoid issues when shutting down
* minor style changes
2019-10-11 18:59:53 +01:00
Klaus Basan
99edc9cb13 Ref T730, code style, adding namespaces 2019-10-11 18:59:45 +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
Klaus Basan
d944d0f6ee Do not play QSoundEffect while it is still playing
* added m_playEffect as flag
* hooked up signals to reset the flags
2019-10-11 18:59:10 +01:00
Klaus Basan
5e3b758e44 Ref T732, renamed to CFsdClient adjustments 2019-10-11 18:59:05 +01:00
Klaus Basan
384aa3ce19 Ref T730, namespace for BlackCore::Afv
* added namespace
* removed some *.pri files and added files to blackcore.pro
* added copyright etc.
2019-10-11 18:59:02 +01:00
Roland Rossgotterer
b5a2f2ad13 AFV initial commit 2019-10-11 18:58:47 +01:00
Roland Rossgotterer
7030302e73 Cleanup audio context
Remove unused methods
Make methods only used in CContextAudio private
2019-09-18 13:50:41 +02:00
Roland Rossgotterer
acf540be34 Long live FsdClient 2019-09-18 13:49:37 +02:00
Roland Rossgotterer
fa6e7108c7 Propagate FacilityType and LoginMode to value objects 2019-09-17 17:29:25 +02:00
Roland Rossgotterer
4772aadc1a Replace INetwork::CConnectionStatus with proper value object 2019-09-17 17:29:25 +02:00
Klaus Basan
2d4472d64f Ref T717, "fetch" simulator data for model browser 2019-09-16 22:41:40 +01:00
Klaus Basan
6521b89fdd Ref T717, simulator ground elevation 2019-09-16 22:41:39 +01:00
Klaus Basan
f80e093a0a Ref T717, function to send parts/situation for testing and in the model browser 2019-09-16 22:41:37 +01:00
Klaus Basan
903cf07eac Ref T717, "testRemoteAircraft" simulator context functions 2019-09-16 22:41:35 +01:00
Klaus Basan
4c9654d81d Use simulator from plugin if plugin is connected 2019-09-16 22:41:34 +01:00
Klaus Basan
19c9a51c38 Style 2019-09-16 22:41:34 +01:00
Klaus Basan
2e96caef5c Functions to remove models from model set 2019-09-16 22:41:32 +01:00
Klaus Basan
902d18339a Improved manual changing of aircraft and reset
* deferred adding and reset
* HTML overlay messages
* debug code for DBus messages
2019-09-16 22:41:32 +01:00
Klaus Basan
1d75b5fac7 Log info/warning about METAR URL 2019-09-16 22:41:32 +01:00
Klaus Basan
0e3cba35ff Minor style changes 2019-09-16 22:41:31 +01:00
Klaus Basan
083293c016 Style 2019-09-16 22:41:28 +01:00
Klaus Basan
a583def040 Ref T703, sending and receiving of relayed text messages
* turn relayed messages into normal messages
* avoid signals for relayed messaged
* relay received messages to partner (co-pilot)
2019-09-16 22:41:23 +01:00
Klaus Basan
6adea91618 Ref T703, set partner callsign in network vatlib / functions in context adjusted 2019-09-16 22:41:21 +01:00
Klaus Basan
daf927223a Ref T659, login mode as string 2019-09-16 22:41:11 +01:00
Klaus Basan
cffab0954d Ref T659, get network preset values from network vatlib 2019-09-16 22:41:09 +01:00
Klaus Basan
03096f8f7e Ref T609, adjusted audio context to support changed COM units and muted transmission if muted in COM unit 2019-09-16 22:41:08 +01:00
Klaus Basan
e53833856a Ref T609, function in audio context for COM integration + fix for wrong mixer device 2019-09-16 22:41:07 +01:00
Klaus Basan
9ba7dfee4d Ref T609, allow to get COM unit from own aircraft context 2019-09-16 22:41:06 +01:00
Klaus Basan
398f28fd9e Ref T609, style 2019-09-16 22:41:05 +01:00
Klaus Basan
e7d39a2cd7 MacOsX logging for mic. request
https://discordapp.com/channels/539048679160676382/567983892791951374/604797145928826880
2019-09-16 22:40:59 +01:00
Klaus Basan
ee5f1d329d Ref T706, some fixes around the ATIS voiceroom URL issue
Discord: https://discordapp.com/channels/539048679160676382/602915311380987905/602917602293055489
2019-09-16 22:40:43 +01:00