Commit Graph

75 Commits

Author SHA1 Message Date
Roland Winklmeier
4aaccb44c3 Cleanup the enabled modules in all sub projects
Most modules were just enabled to add include path for dependent headers
2018-06-02 02:08:46 +02:00
Klaus Basan
6f8d0ce2ab Formatting 2018-05-04 23:03:30 +02:00
Roland Winklmeier
2fab47a5d3 Update message sound effect 2018-01-13 05:04:25 +01:00
Mathew Sutcliffe
0cf6034a29 Don't use member access notation to call static methods. 2017-10-10 00:56:54 +01:00
Roland Winklmeier
09da34d8f0 Update of sound effect files
- error
- frequencymessage
- privatemessage
- voiceroomjoined
- voiceroomleft

ref T119
2017-09-24 19:53:34 +01:00
Klaus Basan
3f924209f1 As a follow up of review T111, changed "void static" to "static void" for consistency. 2017-09-24 19:52:31 +01:00
Klaus Basan
8aed8f598e Ref T105, remove empty cleanup functions 2017-09-24 19:50:17 +01:00
Klaus Basan
18ab0e8459 Ref T105, minor adjustements in CThreadedTonePairPlayer 2017-09-24 19:50:09 +01:00
Klaus Basan
a9198e4f13 Ref T103, Unified naming of directory functions
* some started with get/some not (removed get, get is normally used for our getters)
* some used swift, getSwiftXZY dir (removed swift)
* used full word "directory", not dir/directory mixed
2017-09-24 19:49:53 +01:00
Klaus Basan
debd9c802f Ref T103, moved directory functions from CBuildConfig to CDirectoryUtils
getApplicationDir renamed to getBinDir() as it works different on MacOs
see https://dev.swift-project.org/w/dev/swiftpc/dirstructure/
2017-09-24 19:49:51 +01:00
Mathew Sutcliffe
3ea9e33e6b refs #937 Resolved clazy warnings: pass-by-value/reference. 2017-04-19 19:31:42 +01:00
Mathew Sutcliffe
fce1513dae refs #937 Resolved clazy warnings: unnecessary detaching of containers. 2017-04-19 19:31:38 +01:00
Mathew Sutcliffe
53fc629490 Removed outdated precompiled header stuff. 2017-02-28 22:34:52 +00:00
Mathew Sutcliffe
096e1e9a81 refs #804 Fixed Clang static analysis warnings. 2016-12-13 19:00:49 +01:00
Mathew Sutcliffe
af066be740 refs #800 Fixed copy/paste mistake. 2016-12-13 19:00:35 +01:00
Mathew Sutcliffe
5791de6860 refs #800 Fixed some implicit conversion warnings. 2016-12-13 19:00:26 +01:00
Roland Winklmeier
5486596335 Refactor SECLAL player into new threaded player class
The reason for moving the implementation out from CSoundGenerator into
its own class is, because CSoundGenerator was a very complex and
obscure class. It mixed many tasks in one place. CSelcalPlayer
is designed to play SELCALs only.

The following design changes have been made, compared to CSoundGenerator:
* Use pull mode instead of push mode. QBuffer is used as the QIODevice and
  is a wrapper around QByteArray. Therefore it is not necessary to
  implement our own QIODevice.
* Internally it uses a CThreadedSelcalPlayer to relieve the load of the
  main thread. CThreadedSelcalPlayer inherits CContinuousWorker, no
  low level QThread implementation was necessary.
* Push mode was not implemented.
* It is important that the QAudioOutput is allocated in the worker thread.
  QAudioOutput allocates internal objects, which cannot be moved to
  the worker thread.
* Data caching. The generated seclal audio data is cached.

refs #736
2016-08-26 21:05:24 +01:00
Roland Winklmeier
06d858c57f Change installer directory "data" to "share"
refs #671
2016-07-15 21:06:57 +02:00
Roland Winklmeier
2d8f56a598 Link CBuildConfig and CVersion into static library blackconfig
CBuildConfig including private keys etc. should not be part of a
public library API. Therefore link it into a static library, which
is not available to end users.

refs #645
2016-05-24 13:12:23 +02:00
Roland Winklmeier
0ba46360dd Move sounds and stylesheet directory configuration to buildconfig.h.in
refs #615
2016-05-20 01:36:44 +02:00
Roland Winklmeier
9ef34c4b96 Group all resources in data/ subfolder
refs #615
2016-05-20 01:35:19 +02:00
Roland Winklmeier
3d7a39ed00 Fix BlackMisc header includes
* Include only what is used
* Use forward declaration when possible
* Sorted includes

refs #630
2016-05-13 17:05:49 +02:00
Mathew Sutcliffe
1801616953 refs #624 Use conditional SUBDIRS instead of REQUIRES for enabling/disabling subprojects. 2016-03-22 16:03:00 +00:00
Mathew Sutcliffe
9968ccbbdb refs #461 Use the REQUIRES variable in the leaf projects instead of conditions at the SUBDIRS level. 2015-11-23 23:29:29 +00:00
Roland Winklmeier
5eddef0f12 Add install targets
refs #486
2015-11-19 21:07:14 +00:00
Klaus Basan
ac61a3458d Removed settings context
* removed old settings related classes
* moved notifications to BlackMisc::Audio
* added audio settings where needed

refs #464
refs #337
2015-11-19 21:04:06 +00:00
Mathew Sutcliffe
e4adad45d0 refs #482 Rationalized the copying of files from source tree to build tree. 2015-11-19 21:02:47 +00:00
Mathew Sutcliffe
6b75de0b3f refs #482 Project files changed to use new qmake feature files and build directory structure. 2015-11-19 21:02:41 +00:00
Klaus Basan
68d0b8cc98 During #475 found issue with deleter
* changed / improved deleter
* formatting in related class soundgenerator
2015-11-19 21:00:22 +00:00
Mathew Sutcliffe
d4c5dff17a qint32 -> int replacements to make implementations consistent with headers. 2015-05-31 17:27:05 +01:00
Klaus Basan
db5181c26a Sound generator: Replaced qint32 by int and formatting 2015-05-31 01:33:09 +02:00
Roland Winklmeier
647c5c2de8 doxygen 2015-05-05 22:27:31 +02:00
Roland Winklmeier
d14ecb3db5 refs #403 add BlackSound shared library build 2015-05-05 21:34:26 +02:00
Roland Winklmeier
8ad29e2fff refs #403 add extra flag for static builds 2015-05-05 21:29:48 +02:00
Roland Winklmeier
793fcbfd15 refs #403 refactor project files
* Use source path and build path instead of relative ones
* Unify pre target dependencies in libraries.pri
2015-05-05 21:29:46 +02:00
Mathew Sutcliffe
2363fab8c1 refs #396 move Blackmisc PQ classes into subfolder 2015-04-07 19:22:30 +02:00
Klaus Basan
0ab755d510 refs #396 subfolders and renamed callsign list to callsign set
* subfolder audio
* subfolder geo
* adjusted samples, tests ....
2015-04-07 19:22:23 +02:00
Roland Winklmeier
78d3350bf3 refs #396 move Blackmisc Aviation classes into subfolder 2015-04-07 18:20:20 +02:00
Klaus Basan
c86b1984ef fixup! Improved samples and debugging information 2015-01-25 04:31:33 +01:00
Klaus Basan
ca07e68c34 Improved samples and debugging information
* DBus test for CSimulatedAircraft
* Output of metatypes in GUI/core
* Changed output from qDebug() to QTextStream
* Variant test for CSimulatedAircraft
2015-01-25 03:55:39 +01:00
Roland Winklmeier
a1ef1d4484 refs #320 Rename CAudioDevice to CAudioDeviceInfo
CAudioDevice implied a device handler instead of device information
2014-12-25 20:12:58 +01:00
Klaus Basan
6e5e28584f Formatting 2014-11-30 00:56:46 +01:00
Mathew Sutcliffe
dc4de279d0 refs #316 Swiftcore, swiftgui, and samples use CLogHandler to display subscribed messages. 2014-10-04 22:16:59 +01:00
Klaus Basan
0a7be12efa Fixes around audio "on remote computer"
* Better options to debug
* Fixes as of n2, https://dev.vatsim-germany.org/boards/22/topics/1792?r=1802#message-1802
* Doxygen
2014-06-09 14:44:14 +02:00
Klaus Basan
c3f7a7c179 Some fixes found during testing with remote black core (different computer)
* Allow anonymous access for P2P
* Fixed sound settings flags, if empty string is saved in settings
* Fixed metadata registration
2014-06-09 14:44:13 +02:00
Klaus Basan
27a697c307 Some fixes:
* Cockpit, max frequency corrected to 136,975
* Text message components, tabs show cockpit frequencies
* fixed icons
* some aggresive sound for voice room joined/left, until full testing is complete
2014-06-09 14:44:12 +02:00
Klaus Basan
1b804ca8d7 refs #258, notification sounds for voice room joined/left
* settings for notification sounds
* wav files
* changes in GUI
2014-06-09 14:43:43 +02:00
Klaus Basan
4c952ab782 refs #240, moved notification sounds in project blackmisc
Notification sounds are used in BlackGui components. They require the whole Qt multimedia library. However, GUI only triggers playing the sound. As a workaround the notification sounds enumeration has been moved in an own class, and moved to the subproject BlackMisc. Hence it is possible to compile BlackGui without dependency to BlackSound.
2014-05-22 22:21:19 +02:00
Klaus Basan
798780dd4c Code formatting, minor tweaks 2014-05-22 22:21:17 +02:00
Mathew Sutcliffe
903ddf7841 fixed compiler warnings detected by jenkins build server 2014-04-07 15:47:12 +01:00