Commit Graph

2455 Commits

Author SHA1 Message Date
Roland Winklmeier
c4b458c97c Fix missing arguments and const declarations in avionics
and geo classes. In the same step, add the override keyword

fixes #133 refs 124#
2014-02-08 11:03:06 +01:00
Roland Winklmeier
3022c7c0e0 Fix warning with unused private members in CInterpolator
refs #92
2014-02-08 11:01:32 +01:00
Mathew Sutcliffe
0a6030f5df refs #92 fixing warnings when compiling for 64bits due to conversions between size_t and int 2014-02-07 22:51:23 +00:00
Roland Winklmeier
07879cf5a7 Remove dummy simulator driver projects
refs #90
2014-02-07 22:39:40 +01:00
Roland Winklmeier
7b646610c5 fixes #130 missing const declarator in IContext::hasObject 2014-02-07 22:31:32 +01:00
Mathew Sutcliffe
396fab097a fixes #121 iterator error when compiling with Clang's libc++ 2014-02-07 17:50:19 +00:00
Klaus Basan
27db22cb44 Changed SoundGenerator to use BlackMisc::PhysicalQuantities instead of integer types (req. by RW)
lengthPerTone renamed to bytesPerTone
2014-02-07 03:10:32 +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
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
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
7a63768c83 Allows to display callsign / user / statusmessage as icon in views. refs #122
* Icons
* update of resource file
* update in CValueObject classes callsign / user / statusmessage
* update in list models, data method for returning Pixmap
2014-02-05 23:16:29 +00:00
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