Commit Graph

36 Commits

Author SHA1 Message Date
Roland Winklmeier
933271b828 Fix BlackCore header includes
* Include only what is used
* Use forward declaration when possible
* Sorted includes

refs #598
2016-05-13 17:06:00 +02:00
Roland Winklmeier
bd251b5de6 Fix license headers 2016-02-16 20:01:21 +01:00
Michał Garapich
1b06e15b61 refs #510 Remove underscores from all the source file names 2015-11-22 12:53:09 +01:00
Roland Winklmeier
a13d90ada4 refs #403 add BlackCore shared library build 2015-05-05 21:34:28 +02:00
Michał Garapich
985a1caecf refs #396 BlackMisc: nw* goes to network/, hw* goes to hardware/ 2015-04-07 19:22:37 +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
Roland Winklmeier
84ac5e9972 refs #372 Move voice channel sharing into CContextAudio
Before a very complex mechanism was implemented in order to share
a vatlib voice channel resource if more than one COM unit was connected
to the same channel. This is now moved into CContextAudio by mapping
a COM unit to a shared voice channel pointer.
2015-03-20 16:32:35 +01:00
Roland Winklmeier
7ba3a50e18 refs #372 Replace voice connection methods to use audio mixer
Instead of connecting producers and consumers directly, they
are all connected to an audio mixer. In order to actually
route voice you have to configure the mixer and connect its
input with an output port.
This commit also silently adapts to some new vatlib methods,
which got introduced as a bug fix.
2015-03-20 16:32:23 +01:00
Roland Winklmeier
8812f3ba28 refs #372 Add audio mixer interface and vatlib implementation
This class is an audio router. In order to route audio connect a
producer to an input port and a consumer to an output port. The
connection is later established by making the mixer connection
between an input and an output port.
2015-03-20 16:32:19 +01:00
Roland Winklmeier
b6869affd5 refs #320 Voicechannel and audio device connections
- Methods to connect voice channel and audio devices
- Methods to connect audio devices with each other (loopback)
2014-12-27 11:08:44 +01:00
Roland Winklmeier
3126067d31 refs #320 Porting voice channels to new API 2014-12-27 11:08:43 +01:00
Roland Winklmeier
7dc67a89c7 refs #320 Audio device handlers 2014-12-27 11:08:41 +01:00
Roland Winklmeier
13a05f729e refs #320 Prepare Voice to new vatlib API 2014-12-27 11:08:37 +01:00
Roland Winklmeier
111c539e89 refs #320 Remove deprecated code
* Mic and squelch tests
* VoiceVatlib threading
* Exception handling
2014-12-27 11:08:34 +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
Mathew Sutcliffe
5991981789 refs #336 Removed the old getMessageCategory methods. 2014-10-16 17:06:21 +01:00
Mathew Sutcliffe
5d123f798a refs #316 Changed blackcore to use CLogMessage to emit messages.
Also changed functions which always returned CStatusMessageList containing a single CStatusMessage,
to return CStatusMessage instead for simplicity.
2014-10-04 22:16:43 +01:00
Roland Winklmeier
c05b8808b8 refs #255 move voice channel handling from CVoiceVatlib into a dedicated class CVoiceChannel 2014-08-03 16:09:39 +02:00
Mathew Sutcliffe
e7c14e2c1c moved enum metadata registration out of static methods of QObject-derived classes, which fixes #280 (GCC linker errors) 2014-06-23 01:19:42 +02:00
Klaus Basan
a4e5e22adc refs #242, some fixes in voice vatlib
* voiceroom connection status only changed when really connected, not when trying to
* exception method changed so it sends proper status messages
* empty member callsign list when voice room is left (also in the paranoia section)
2014-06-09 14:43:19 +02:00
Roland Winklmeier
9c81322137 Add API method to enable audio loopback in IVoice and
audio context

refs #136
2014-05-22 22:55:44 +02:00
Roland Winklmeier
68e9cc2c3e Move IVoice enum registration into static method
refs #183
2014-05-04 00:50:08 +02:00
Roland Winklmeier
3fe5ece460 Make Voice::ConnectionStatus a metatype
This is needed in order to use it as argument in a thread queue

refs #183
2014-04-29 01:54:11 +02:00
Roland Winklmeier
95fa5e84df Removed IContext
Network and voice samples work using them and have to allocate
their own vatlib objects now.

refs #221
2014-04-26 20:46:56 +02:00
Klaus Basan
dde9710144 Refs #140 , refs #85 Rename namespace voice to audio.
In #85 the voice context will be renamed to audio context, so the CValueObject classes will be renamed to namespace Audio too.
As #140 changes many CValueClasses, this crossover change is done in the same unit of work.
2014-03-10 14:43:06 +01:00
Roland Winklmeier
372a668134 Replaced set of voice connection signals with one general
The different IVoice signals representing a single event
from the voice connection have been replaced by a general
signal emitted when something per com unit has changed.
It passes old and new status.
refs #105
2014-02-10 20:00:54 +01:00
Roland Winklmeier
55b946d32f Add connection status enum to IVoice
refs #105
2014-02-10 19:59:03 +01:00
Klaus Basan
ff5cf5ea4a refs #91 & #124 doxygen fixes, style/comment changes, typos, and override keywords 2014-02-05 23:26:13 +00:00
Klaus Basan
2feab9f5e7 Bugfix to set aircraft callsign from voice context, fixes #120
In the same step added methods to test squelch and microphone, refs #123
2014-02-05 23:16:31 +00:00
Klaus Basan
6485527062 Changed voice context so it can play SELCAL tones. This makes sense, as I can
use the device information of this context. Sound shall be played on the
same computer as the voice.

* Adjusted .pro file
* Methods for SELCAL in context
* New XML file (DBus)
* changed the place where I can obtain the current in/output device
2014-02-05 23:15:24 +00:00
Klaus Basan
36bab20f58 Updated CVoiceVatlib::getComVoiceRoomsWithAudioStatus() to const
Callsign split for user onRoomUserReceived
Check in CVoiceVatlib::addTemporaryCallsignForRoom
2014-01-25 01:51:54 +01:00
Klaus Basan
0e519dbeff Fixed Doxygen 2014-01-21 17:44:24 +01:00
Klaus Basan
17b6789d4e Changed voice to
* CCallsignList
* CCallsign (replaced QString)
* fixed Doxygen comments
2014-01-21 16:42:53 +01:00
Roland Winklmeier
e36448f0a1 Replaced c++ standard integer types with Qt types
In order to be consistent, all standard integer types have been
replaced by the equivalent Qt ones in voice/audio code.
Projects covered
- BlackCore
- BlackMisc
- sample_voice_client

refs #99
2014-01-15 21:12:01 +01:00
Klaus Basan
1c1fdabd2e all voice changes from kbatclist branch
refs #81
2014-01-09 01:15:58 +00:00