Commit Graph

39 Commits

Author SHA1 Message Date
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
c0265ba0e4 refs #320 Move own implementation of std::make_unique into BlackMisc 2014-12-27 11:08:39 +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
a294e8db0f refs #336 Using the new CLogMessage syntax to log messages. 2014-10-16 17:05:50 +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
993a0a8839 Fix error due to two consecutive implicit conversions
Credits to Mat for finding the standard defect and explane it.
2014-08-05 19:01:40 +02: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
97b8ee8c32 refs #277, slow auio init
* fixed QHostInfo::localHostName()
* move to BlackMisc, as it can be used elsewhere
* temp. change, moved methods in body until refs #278, #277 is fixed/ resolved
2014-06-23 01:19:38 +02:00
Klaus Basan
c8bf23bf86 Small fixes in init voice context, found during "merge testing" 2014-06-13 13:51:06 +02:00
Klaus Basan
2b2f1af4e6 refs #220, refs #251 fixes in voice vatlib
* fixed Disconnected status
* room connected checking low-level, not on objects (fail safe)
* Remark: Still containing debug information for refs #255 , will be removed
2014-06-09 14:44:01 +02:00
Klaus Basan
1bb4c3120b Formatting, comments, minor tweaks, typos, Doxygen 2014-06-09 14:43:31 +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
ccef9f4be2 Change CVoiceVatlib processing to every 10 ms
refs #183
2014-04-29 01:54:09 +02:00
Roland Winklmeier
9fd4986fac Add thread locks to serialize resource access
refs #183
2014-04-29 01:54:07 +02:00
Roland Winklmeier
200c2612e5 Fixed typo introduced by former shimlib (corrected in shimlib 0.4.15) 2014-03-11 22:28:04 +01: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
6bf930650a fixes #123 by displaying the Audio test in the GUI
* added methods to get results in context
* added signal to indicate audio test completed
* updated GUI to display results
* changed test run methods to non-const to be consistent with voice lib
* Logic in GUI to avoid parallel / interfering tests
* Fixed wrong Q_ASSERT message and QTimer::singleShot in voice_vatlib.cpp
2014-02-06 16:07:16 +01: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
4a77ee5fc4 Added QAudioOutput to voice lib, as an approach to overcome #117 2014-02-05 23:16:08 +00:00
Klaus Basan
ffb09c0d4a Fixing typo (qWarning) in voice_vatlib 2014-02-05 23:16:00 +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
b775a2c9d5 fixed comment 2014-01-26 23:15:56 +01: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
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