Commit Graph

37 Commits

Author SHA1 Message Date
Roland Winklmeier
a13d90ada4 refs #403 add BlackCore shared library build 2015-05-05 21:34:28 +02:00
Roland Winklmeier
afed33dbbf Adaptions to latest vatlib
The latest vatlib fixes some ambigious methods in the interface and
makes them more clear. Additional it adds a severity level to the
log handlers. Both causing the header to be source incompatible and
therefore need smaller changes in swift.
2015-03-20 17:11:35 +01:00
Klaus Basan
b354adc234 Fixed header for vatlib 2015-03-20 16:34:03 +01: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
2fa4a88c22 refs #320 doxygen 2014-12-27 11:08:46 +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
Roland Winklmeier
c05b8808b8 refs #255 move voice channel handling from CVoiceVatlib into a dedicated class CVoiceChannel 2014-08-03 16:09:39 +02:00
Roland Winklmeier
c8f41beea9 refs #255 Use QMutex and std::atomic instead of QReadWriteLock 2014-08-03 16:09:36 +02:00
Roland Winklmeier
94e0c61e97 refs #255 Rename m_voice to m_vatlib in CVoiceVatlib 2014-08-03 16:08:45 +02:00
Roland Winklmeier
ca253c00b6 refs #255 Using shared lockable vatlib pointer in CVoiceVatlib 2014-08-03 16:07:33 +02:00
Klaus Basan
5da3f55886 refs #277, removed QAudioOutput as discussed
(was used to work around a bug with muted sound)
2014-06-23 01:19:47 +02:00
Klaus Basan
c8bf23bf86 Small fixes in init voice context, found during "merge testing" 2014-06-13 13:51:06 +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
9fd4986fac Add thread locks to serialize resource access
refs #183
2014-04-29 01:54:07 +02:00
Roland Winklmeier
abb20a5154 Change CVoiceVatlib to use new IKeyboard interface
refs #83
2014-03-11 21:56:54 +01: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
Klaus Basan
116db9a425 refs #91 & #124 doxygen fixes, style/comment changes, typos, and override / nullptr keywords
Remark: Doxygen <70 warnings
2014-02-07 01:09:31 +01:00
Klaus Basan
526cd916a8 refs #91 & #124 doxygen fixes, style/comment changes, typos, and override keywords 2014-02-06 03:22:42 +01:00
Klaus Basan
2356708b63 Renamed method to runMicrophoneTest(), a change likely got lost in the rebase session Feb06 2014-02-06 01:24:01 +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
4a77ee5fc4 Added QAudioOutput to voice lib, as an approach to overcome #117 2014-02-05 23:16:08 +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
17b6789d4e Changed voice to
* CCallsignList
* CCallsign (replaced QString)
* fixed Doxygen comments
2014-01-21 16:42:53 +01:00
Klaus Basan
1129891532 NOMINMAX fix after removal of some classes
https://dev.vatsim-germany.org/boards/22/topics/1417?r=1440#message-1440
2014-01-19 00:23:23 +01:00
Roland Winklmeier
da6e7a58a4 Add ifdefs arround native windows code to fix linux build
- There was some native windows code not properly covered by ifdefs.
- handlePushToTalk() is not yet implemented on linux. Add a dummy.
2014-01-18 20:12:02 +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
cedc08eb3d Code based on Review with RW (userJoinedLeft).
Includes the discussed changes, added the mute methods,
and switchAudioOutput to enable/disable channel1/2
2014-01-13 03:19:36 +01:00
Klaus Basan
1c1fdabd2e all voice changes from kbatclist branch
refs #81
2014-01-09 01:15:58 +00:00