Klaus Basan
254e21ab1f
Fix for QSoundEffect(qaudio): Error decoding source
2019-04-11 22:12:02 +01:00
Klaus Basan
77a898c9ec
Utility functions for notification sounds
2019-04-11 22:11:58 +01:00
Roland Rossgotterer
37f88841cf
Convert floating-point WAV files to PCM
2019-04-11 22:11:51 +01:00
Roland Rossgotterer
d5b3a336dd
Move Notification sounds into CNotificationPlayer
2019-04-11 22:11:50 +01:00
Roland Rossgotterer
77a8c46790
Use CWorker to play sound in background
2019-04-11 22:11:50 +01:00
Roland Rossgotterer
80cfb0e701
Remove construction of obsolete class QMediaResource
2019-04-11 22:11:50 +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
0e03e7baf0
Ref T558, play notification sound after SELCAL tone
...
* return SELCAL tone duration
* play follow up tone
2019-04-11 22:11:38 +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
a01f2e36a0
Ref T535, added supervisor notifcation sound
2019-02-22 20:36:11 +00:00
Klaus Basan
bb7e81420c
Ref T535, updated sound files
2019-02-22 20:36:11 +00:00
Klaus Basan
dc8ea83839
Ref T494, added new sounds
2019-02-22 20:35:06 +00:00
Klaus Basan
80ed972e53
Ref T494, style
...
* removed some old "foreach" loops
* fixed some CLANG warnings
2019-02-22 20:35:05 +00:00
Mat Sutcliffe
e32ea65a27
Fixed clazy warnings: fully-qualified signal parameter types.
2019-02-22 20:23:34 +00:00
Mat Sutcliffe
82679a3010
Replace qmake variable BLACK_CONFIG with a system based on json files.
...
The config is loaded from json files by qmake, and we define the qmake
function `swiftConfig` for checking whether a feature is enabled.
This function can be directly used in `buildconfig_gen.cpp.in`,
so the trick with C++ comment tokens in variables is not needed.
2019-02-22 20:23:25 +00:00
Roland Winklmeier
a60ee4a7dd
Use override for destructors
2018-08-25 22:12:06 +02:00
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