Commit Graph

44 Commits

Author SHA1 Message Date
Roland Winklmeier
0760a67138 Handle users joining and leaving properly in audio context and gui
Before this change signals when users were joining or leaving
the voice room were not properly handled. A new signal in audio
context is emitted now and gui will rebuild the user list when it
is emitted.
2015-03-20 17:11:31 +01:00
Klaus Basan
269c65b578 As of workshop RW/KB, improved / fixed text messages
Also refs #351
* messages can be formatted with style sheet
* fixed: removed command from message
* added originator to command line
* msg parsing now in core
* using ITimestampBased for text messages and status messages
* allow to resize rows to content (view base)
* model / views for text messages
* removed old qt stylesheets
2015-03-20 17:10:58 +01:00
Klaus Basan
c47871b813 refs #382, reviewed audio context handling
* only init QDbusServer for P2P
* changed init order of contexts in runtime
* use "fake" signal to call setComVoiceRooms (remote in GUI)
* added slot to change voice room callsign
* used "org.swift" instead of "net.vatim" (just style)
* used const QString for serviceName
* added correct copyright header (just style)
2015-03-20 16:33:51 +01:00
Klaus Basan
16bee441e1 refs #381, adjust GUI for new voice vatlib
* Only 1 volume
* No tests (squelch ...)
* loopback
* required backed functions in context
2015-03-20 16:33:31 +01:00
Roland Winklmeier
77e0165e9a refs #371 Replace COM based volume methods by global output volume 2015-03-20 16:32:47 +01:00
Roland Winklmeier
1587b4791a refs #371 remove deprecated mic and squelch tests 2015-03-20 16:32:43 +01:00
Roland Winklmeier
984c0d084f refs #372 Add context method to set the voice output volume 2015-03-20 16:32:39 +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
ff56d64ff2 refs #372 Adapt CContextAudio and voice sample to IAudioMixer 2015-03-20 16:32:27 +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
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
Klaus Basan
4ce5144516 refs #77, refs #288 fixed gcc / doxygen warnings as far as possible 2014-11-30 00:56:00 +01:00
Klaus Basan
c173a30a94 refs #343, Changed transponder code and volume to int as discussed 2014-11-30 00:55:48 +01:00
Klaus Basan
1ea330cc06 refs #335, improved audio setup
* changed volume methods from QList<qint32> to qint32 (DBus compliance)
* methods for changed devices
* command parser for audio
* volume display in status bar (pseudo mute)
2014-11-30 00:54:20 +01:00
Klaus Basan
e1647cd8fd refs #335, volume and mute functions
* refs #339, in the same step fixed delete
2014-11-30 00:53:08 +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
aef7135e28 refs #316 Removed old statusMessage signals and sendStatusMessage slots. 2014-10-04 22:16:56 +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
Mathew Sutcliffe
f311582c28 refs #315 Style 2014-08-19 21:54:23 +01:00
Mathew Sutcliffe
96ca38a3db refs #315 Removed old/deprecated CRuntime::logSlot, changed contexts to use new CRuntime::logSlot.
Network context was already using new CRuntime::logSlot as of commit:81c68058.
2014-08-19 21:37:20 +01:00
Roland Winklmeier
4ac6a673c1 refs #313 Register hotkey functions instead keyboard keys 2014-08-19 14:42:24 +02:00
Roland Winklmeier
ff65f3f39d refs #255 update context and sample to use the new IVoiceChannel API 2014-08-03 16:09:40 +02:00
Klaus Basan
161aec96a7 Prefix ps_ for some private slots
https://dev.vatsim-germany.org/boards/22/topics/1914?r=1920#message-1920
2014-07-11 01:20:45 +02:00
Roland Winklmeier
a131e8c91c Move IKeyboard and subclasses to new library BlackInput
refs #256
2014-06-15 19:22:59 +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
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
6344923725 refs #220, improved voice room handling by providing join/left flag and connection handling 2014-06-09 14:43:59 +02:00
Klaus Basan
e823f87bab refs #258, notification sound for voice rooms in context 2014-06-09 14:43:54 +02:00
Klaus Basan
1bb4c3120b Formatting, comments, minor tweaks, typos, Doxygen 2014-06-09 14:43:31 +02:00
Klaus Basan
421cd61195 refs #246, removed own aircraft from context
* refactored method set voice rooms
* signal changed voice rooms
2014-06-09 14:43:08 +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
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
Roland Winklmeier
526149f94d Move VoiceVatlib into its own thread in ContextAudio
refs #183
2014-04-29 01:54:13 +02:00
Klaus Basan
20322a1a55 Assert for keyboard list 2014-04-17 00:11:54 +02:00
Klaus Basan
6580ec48d5 refs #199, further slot logging for network / simulator , added log method for bool values 2014-04-17 00:09:54 +02:00
Klaus Basan
16b9c714af refs #199, direct access to other context convenience methods 2014-04-17 00:09:10 +02:00
Klaus Basan
3c23963a25 refs #199 , init removed
cross context wiring should be done in the runtime class.
2014-04-17 00:05:50 +02:00
Klaus Basan
77fd3bcd70 refs #199 , adjusted context classes
* removed usingLocalObjects() now in CContext
* removed getRuntime() now in CContext
* Constructors no longer public, context can only be obtained via runtime object
* runtime class is friend class
2014-04-17 00:05:47 +02:00
Roland Winklmeier
811bbdfe4e Reload hotkey settings when they have changed
This also includes changing the registration

refs #83
2014-03-11 21:56:55 +01:00
Roland Winklmeier
abb20a5154 Change CVoiceVatlib to use new IKeyboard interface
refs #83
2014-03-11 21:56:54 +01:00
Roland Winklmeier
33aee8cb12 Refactored inheritance hierarchy of ContextAudio (former ContextVoice)
refs #85
2014-03-11 21:36:57 +01:00