Commit Graph

420 Commits

Author SHA1 Message Date
Klaus Basan
ec3e8d496b Formatted QSS (style sheet) 2014-02-07 04:01:28 +01: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
c46878b873 Changed unit test testnetwork to reflect new status Disconnecting, then Disconnected 2014-02-07 03:05:35 +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
Mathew Sutcliffe
e7c31fbe20 Merge branch 'feature/102_selcal' 2014-02-05 23:23:07 +00:00
Klaus Basan
ce22fc9552 Trigger Squelch and Mic test from GUI, refs #123 2014-02-05 23:16:34 +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
431b347cfd Improved status bar, connection handling, displaying ATC station as tooltip
when it matches a frequency
2014-02-05 23:16:26 +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
243ace74fe link CLI sample with QtGui due to CValueObject::toIcon 2014-02-05 23:16:21 +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
34c75c7505 Fixed unit tests, only minor changes 2014-02-05 23:16:17 +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
6962a764be Regression test for removeIf, used to identify issue #114 2014-02-05 23:15:53 +00:00
Klaus Basan
b8d87038a1 Fixed .pro files, typos in libblacksound (non win) 2014-02-05 23:15:51 +00:00
Klaus Basan
e88bfde3db Status messages as table view in the GUI, not only text.
Some minor GUI tweaks.
2014-02-05 23:15:48 +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
813c64087f Updated GUI for SELCAL messages and tones.
Some minor changes in the same step:
* Fixed some style sheets
* Added QToolBox as preparation for a status message list
* Renamed voice settings to audio settings
2014-02-05 23:15:38 +00:00
Klaus Basan
cf97f2f46b Changed core, allowing it to play SELCAL tones 2014-02-05 23:15:36 +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
e877c5c368 SELCAL test (playing the SELCAL tone) and selection (from 2 code pairs). 2014-02-05 23:15:19 +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
489de7642b Modifications for GUI .pro file, in order to use sound. 2014-02-05 23:15:09 +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
d360fe5ce2 Added new doxygen.log url to README 2014-02-04 19:23:12 +01: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