Commit Graph

4141 Commits

Author SHA1 Message Date
Klaus Basan
6aa6058c57 Added method getSelectedAtcStations() to network context.
Further isConnected checks in order to avoid updating when not connected (leading to wrnings / errors)
2014-02-05 23:16:24 +00:00
Klaus Basan
79f5b6fcd3 Added / prepared for state disconnecting:
Taking up the idea of MS (disconnecting),
and based on a real world issue where the transition state
of disconnecting was still handled as connected.
2014-02-05 23:16:19 +00:00
Klaus Basan
fda587994d CValueObject virtual method toIcon, reprsenting the object as icon where applicable.
Currently used for status messages (severity), will be used for CAtcStation and others as well.
2014-02-05 23:16:14 +00:00
Klaus Basan
4ec1db4b38 Moved standard icons to blackmisc. Blackmisc is using module GUI anyway,
so this creates no new dependency.
2014-02-05 23:16:10 +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
82af8f0c4c Method to get default in/output device, renamed index methods to distinguish them 2014-02-05 23:16:05 +00:00
Klaus Basan
395603f932 Return values for the static sound generator methods.
Fixed playMode attribute, method to set volume
2014-02-05 23:16:03 +00:00
Klaus Basan
ffb09c0d4a Fixing typo (qWarning) in voice_vatlib 2014-02-05 23:16:00 +00:00
Klaus Basan
247bacb538 Handling of ATC disconnect in context, missing signal / slot connection 2014-02-05 23:15:58 +00:00
Klaus Basan
8c29bb3e53 Removed widgets from blacksound.pro, not needed. 2014-02-05 23:15:55 +00:00
Klaus Basan
b8d87038a1 Fixed .pro files, typos in libblacksound (non win) 2014-02-05 23:15:51 +00:00
Klaus Basan
576952b690 Allow to clear, insert, and push values of the model. 2014-02-05 23:15:46 +00:00
Klaus Basan
f476388f8b Status message list model (so they can displayed as table view in GUI),
and the corresponding property methods in CStatusMessage
2014-02-05 23:15:43 +00:00
Klaus Basan
5731bd3dd1 Icons, as resource for the GUI 2014-02-05 23:15:41 +00:00
Klaus Basan
e60acb25c3 Detect textmessage being a SELCAL call 2014-02-05 23:15:34 +00:00
Klaus Basan
f5ec7ea864 Added missing method for frequency detection 2014-02-05 23:15:31 +00:00
Klaus Basan
a69a021f26 New types for status messages 2014-02-05 23:15:29 +00:00
Klaus Basan
d7388ea79a Fix in SELCAL class, metadata registration 2014-02-05 23:15:26 +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
f9225814f9 Sound generator, a class playing simple notification sounds (1/2 frequency tones).
These tones are generated "in memory", so no sound files ("wav") are needed.

New lib blacksound for utils around audio
2014-02-05 23:15:21 +00:00
Klaus Basan
5619c29cb6 SELCAL classes (CValueObject based) 2014-02-05 23:15:16 +00:00
Klaus Basan
26b1193e3e Sound generator: fixed some methods visibility and missing virtual keyword 2014-02-05 23:15:14 +00:00
Klaus Basan
7b0dff1af5 Sound generator: allow periods of silence between tones 2014-02-05 23:15:11 +00:00
Klaus Basan
1d6711bb99 always trim callsign string in CCallsign constructor 2014-02-05 23:15:06 +00:00
Klaus Basan
f71fe743ef Allows to pass two frequencies (as for SELCAL) as tone 2014-02-05 23:15:04 +00:00
Klaus Basan
6d99ddf9b0 Added sub project for sound refs #107
Added sound generator, which can play a series of tones
2014-02-05 23:15:02 +00:00
Roland Winklmeier
e6a29a083e Remove dummy blackd folder
blackd contained dummy code for a future daemon running
blackcore. It was just a dummy window and every
other line of code contained deprecated dependencies.

refs #90
2014-02-04 18:34:40 +01:00
Mathew Sutcliffe
17534e5154 refs #92 clarified conditional compilation of BlackMisc::heapSizeOf 2014-02-02 16:50:46 +00:00
Mathew Sutcliffe
f8780d0075 fixes #114 incorrect iterator increment in for loop in CContainerBase::removeIf 2014-02-02 16:34:17 +00:00
Mathew Sutcliffe
bb4fe3f858 fixed missing delimiter in capabilities string when using stealth mode 2014-02-01 18:19:48 +00:00
Klaus Basan
291c52d4e0 Added check if network connection can be established
as discussed in #101
2014-01-31 02:13:38 +01:00
Klaus Basan
e728a4ab50 Latest container changes 2014-01-30 21:50:01 +01:00
Mathew Sutcliffe
f8d6d092fb postpone variable definitions as long as possible (Effective C++ item 26) 2014-01-30 19:48:53 +00:00
Mathew Sutcliffe
04ab68917f fixed mistake in CCollection::remove, detected by GCC
refs #108
2014-01-29 23:08:55 +00:00
Mathew Sutcliffe
c27da2e38a refs #108, added CContainerBase::to, for converting between different container types 2014-01-28 20:30:50 +00:00
Mathew Sutcliffe
7c8aa8226d const corrections 2014-01-28 20:19:06 +00:00
Mathew Sutcliffe
d48d8ed951 refs #106, moved removeIf from CSequence to CContainerBase and added remove method in CCollection (CSequence already had a remove method) 2014-01-28 18:30:06 +00:00
Mathew Sutcliffe
1e153b45f0 refs #108, added find methods in CSequence and CCollection;
CSequence uses std::find, and CCollection uses the more efficient find method of the implementation type,
which requires that the implementation type be an associative container like QSet or std::set.
Modified CContainerBase::contains to use these new find methods.
2014-01-28 18:25:14 +00:00
Mathew Sutcliffe
d073681630 minor doxygen fixes 2014-01-28 01:50:30 +00:00
Klaus Basan
3534d44d5e Resolve callsigns to user objects 2014-01-27 16:11:19 +01:00
Klaus Basan
ff5332eddd Hide email for users as this violates some US privacy rules 2014-01-27 16:10:39 +01:00
Klaus Basan
7c8b31f407 Merge with master for fix of remove in containers 2014-01-27 14:31:46 +01:00
Mathew Sutcliffe
88f4a7186f fixed mistake with forgetting to call erase after std::remove 2014-01-27 00:48:14 +00:00
Klaus Basan
b775a2c9d5 fixed comment 2014-01-26 23:15:56 +01:00
Klaus Basan
a95709bbf1 Better toString for user 2014-01-26 23:14:22 +01:00
Klaus Basan
0fa421d8a6 Consider Channel Spacing (50, 25, 8.33kHz) for COM frequencies.
Deals with a special topic: While frequencies at VATSIM/flightsim are usually set in 25kHz spacing, some ATC stations (radar) require 8.33kHz tuning.
The now made extension handles this and allows to listen to a voice room even if the corresponding frequency is not exactly tuned in.

Example: EKDK_CTR 135,270 but needs to be tuned in as 135,275
2014-01-26 15:51:48 +01:00
Klaus Basan
14e90a6bc6 Fixed Doxygen 2014-01-26 02:54:24 +01:00
Klaus Basan
1199f05fe2 Added LoginMode for login from GUI
* updated context method
* updated GUI, checkboxes for mode
* style sheet modified due to GUI update
2014-01-26 02:34:56 +01:00
Klaus Basan
1c0b714a18 Merge with master after fixes for containers,
refs #106
2014-01-26 00:09:30 +01:00
Klaus Basan
2c7ab19006 New DBus XML files generated 2014-01-25 23:36:48 +01:00