Klaus Basan
7d600d4450
refs #129 , start method as proposed by RW in https://dev.vatsim-germany.org/issues/129#note-4 , using lambda.
...
On top addded a simple check to avoid overlapping SELCAL tones
2014-02-12 20:14:34 +01:00
Klaus Basan
273b8d2d71
refs #129 , changed to QMAKE_POST_LINK as proposed by RW https://dev.vatsim-germany.org/issues/129#note-4
2014-02-12 20:14:33 +01:00
Klaus Basan
2db876844c
refs #91 & #124 Doxygen, override, and comment fixes
2014-02-12 20:14:32 +01:00
Klaus Basan
dbfd4a69e9
refs #129 , modified voice context to enable notification sounds
2014-02-12 20:14:30 +01:00
Klaus Basan
4508864320
refs #129 , added methods to play notification sounds
...
Further testing revealed shortcomings in sound generation, which were fixed:
* Sounds can be played in background (own thread)
* Tones can be pushed and pulled http://qt-project.org/doc/qt-5.0/qtmultimedia/audiooverview.html#push-and-pull
2014-02-12 20:14:29 +01:00
Klaus Basan
b48b865a9a
refs #129 , some sounds to test, taken from http://www.soundjay.com/
...
Important: make install required to copy these sounds to target directory, the sounds are not in a resource file (not recommended)
2014-02-12 20:14:28 +01:00
Mathew Sutcliffe
fb8efb2720
refs #91 using \private command in Doxygen comments as appropriate
2014-02-11 23:13:35 +00: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
Roland Winklmeier
55b946d32f
Add connection status enum to IVoice
...
refs #105
2014-02-10 19:59:03 +01:00
Mathew Sutcliffe
a5d8f6c8f0
refs #91 fixed \copydoc commands in Doxygen comments for CContainerBase
2014-02-08 15:01:59 +00:00
Mathew Sutcliffe
e52a4da826
refs #124 using override keyword in containers' pimpls
2014-02-08 14:20:39 +00:00
Mathew Sutcliffe
06a7b0b32f
refs #91 & #124 Doxygen, override, and comment fixes in network.
...
Changed FILE_PATTERNS config in Doxyfile so Doxygen only looks at headers, not cpp files.
Reverts some changes of commit:116db9a (e.g. terminate() is an internal signal of CNetworkVatlib, but still needs a doxy comment because all signals are public).
2014-02-08 14:20:39 +00:00
Mathew Sutcliffe
c966d487f0
refs #91 Doxygen fixes in containers, predicates, and plugins.
...
Fixed PREDEFINED config in Doxyfile, so Doxygen only sees the variadic predicates.
2014-02-08 14:20:38 +00:00
Klaus Basan
e46a883f08
refs #93 , initialize all member pointers to nullptr at the top of the constructor, as mentioned by MS in #93
2014-02-08 14:11:37 +01:00
Klaus Basan
f245ea1283
refs #91 & #124 doxygen fixes, style/comment changes, typos, and override keywords
2014-02-08 14:11:36 +01:00
Klaus Basan
1a72b4b691
refs #93 , update network data such as ATIS or pilot frequencies from time to time,
...
as these data are not actively pushed from network when changing
* timer in network context
* update methods, one specific method for ATIS as this can also be manually re-read(from GUI)
2014-02-08 14:11:33 +01:00
Klaus Basan
2cbddeb5ee
Some minor network context upfront fixes discovered:
...
* readAtcBookingsFromSource() const; to non const, it changes data in the context
* better adjusting of update time for bookings
* No updates if URL is empty, checked.
2014-02-08 14:11:32 +01:00
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