Klaus Basan
11a3fa873d
Ref T730, Ref T739, first implementation of "Mute" for CAfvClient
2019-10-11 19:00:51 +01:00
Klaus Basan
98726e4c06
Ref T730, Ref T739, as follow up of RR's fix, use a default device if device name is NOT found
...
* it can happen the name is empty, or becomes invalid
* an invalid name is a device which has been unplugged
2019-10-11 19:00:50 +01:00
Klaus Basan
ff33b59683
Ref T739, make member of CAfvClient a "pointer"
...
* we can use forward declaration for m_voiceClient
* make IContextAudio -> BlackMisc::CIdentifiable
* removed delayedInitMicrophone, RR will move it to another place
2019-10-11 19:00:48 +01:00
Roland Rossgotterer
3bf4eda702
[AFV] Start audio with configured device or default
2019-10-11 19:00:48 +01:00
Roland Rossgotterer
9d172c3d7d
[AFV] Do gracefull shutdown in IContextAudio destructor
2019-10-11 19:00:47 +01:00
Klaus Basan
d3c0e75248
Ref T730, added voice server setup (settings for server URLs) to context
2019-10-11 19:00:45 +01:00
Klaus Basan
f69edff5c0
Ref T730, context shutdown
...
* virtual function for "about to shutdown"
* graceful shutdown
2019-10-11 19:00:43 +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
bcd97c3a60
Ref T731, correct UI audio messages
2019-10-11 19:00:41 +01:00
Mat Sutcliffe
712cc59dac
[FSD] Fixed CContextNetworkProxy::relaySignals
2019-10-11 19:00:39 +01:00
Mat Sutcliffe
2dbc347bd7
[FSD] Doxygen
2019-10-11 19:00:38 +01:00
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