Robin Getz
2e2ab728e7
Add asynchronous device error messages to DSP engines
...
Add DSPAcquisitionError and DSPGenerationError messages to provide a
standard mechanism for SDRangel devices to report asynchronous errors
to their DSP device engines.
These errors occur after normal device initialization or startup and are
not the result of a synchronous start or configuration operation. They
cover conditions such as a device being unplugged or disconnected, a
device becoming unavailable, or an error occurring while acquiring or
generating samples.
Handle DSPAcquisitionError in the DSPDeviceSourceEngine and the
acquisition side of DSPDeviceMIMOEngine, and handle DSPGenerationError
in the DSPDeviceSinkEngine and the generation side of
DSPDeviceMIMOEngine. Transition the affected device engine to the error
state and propagate the device-provided error message.
This allows asynchronous failures in a sample source, sample sink, or
MIMO device to be propagated through the SDRangel device engine state
machine instead of leaving the device engine running after the device
has become unavailable or encountered an unrecoverable error.
Signed-off-by: Robin Getz <rgetz503@gmail.com>
3 months ago
srcejon
a91fa3b760
Don't stop source if being deleted. For #2315 . Send DSPSignalNotification in audio mods for #2336 .
2 years ago
srcejon
78d0160514
MainWindow: Add FSMs to avoid blocking on the GUI thread.
...
DSPDevice*Engine: Add signals to indicate when commands have been processed.
DSPDeviceSourceEngine: Fix small memory leak.
DSPEngine::removeDeviceEngineAt: Remove wait to avoid blocking thread. Return QThread to get finished signal.
DSPEngine::addDevice*Engine: Don't call deleteLater for device*Engine, as these objects are deleted manually in MainWindow, which will crash if deleteLater called first.
2 years ago
f4exb
b85419c56a
Sonar fixes
2 years ago
f4exb
aca4a53513
Fixed threading model for DSPDeviceSinkEngine plus other fixes. Part of #2159
2 years ago
f4exb
d553834adf
Removed SyncMessenger from DSPDeviceSinkEngine. Part of #2159
2 years ago
f4exb
439b5d094c
Rewriting of copyright notices for sdrbase. Part of #1893
3 years ago
f4exb
107583759f
Audio CAT SISO: implement real else complex indicator
3 years ago
f4exb
12deb59bf4
Fixed possible sample device pointer not set yet when DSPMIMOSignalNotification message arrives. Fixes #1529
4 years ago
Jon Beniston
d404e9f943
Add start/stop all devices button in toolbar. Add device stateChanged signal. Use in RTL SDR GUI for updating device state
4 years ago
f4exb
634b25ac1e
Channel API rework: make it inherit from QObject and removed QObject inheritance from DSP interfaces. Fixes #1147
5 years ago
f4exb
41061de50b
ChannelAPI rework: make handleMessage method protected
5 years ago
f4exb
386bdc2dea
Removed SampleSourceFifoDB completely
6 years ago
f4exb
ce2aad5a7a
Fixed narrowing warning when Rx sample size is 16 bits
6 years ago
f4exb
fba885c609
MIMO: updates to base code
7 years ago
f4exb
3b74153ec6
SampleSourceFifo refactoring and Tx code reorganization
7 years ago
f4exb
e6a929470f
Renamed SampleSourceFifo to SampleSourceFifoDB to mark double buffered nature of FIFO
7 years ago
f4exb
d6382fbbaa
Device engines: stop device before channels when going idle
7 years ago
f4exb
75ee688ac2
MIMO: implemented add/remove MIMO device set in main GUI
8 years ago
f4exb
d0683110d6
Device sink API and engine: removed the unused addSource and removeSource methods
8 years ago
f4exb
fc49bd2855
ixed incomplete copyright headers (3): sdrbase
8 years ago
f4exb
680c584fe0
Device engines: unified some debug messages
8 years ago
f4exb
d596931209
LibbladeRF2: make bladeRF1 work
8 years ago
f4exb
c1bd4f6b44
Up channelizer: fixed copy+paste bug
8 years ago
f4exb
e9c8dad663
Fixed DSP device source/sink run command
9 years ago
f4exb
e8537d6582
Web API and related: fixed memory leaks and some malfunctions
9 years ago
f4exb
36b3137a48
DSP device source/sink engines: reworked add source sequence of actions
9 years ago
f4exb
23e5ef76d4
Device sink engine: fixed adding source channels while it runs
9 years ago
f4exb
f30edc983d
Tx: new handling of multiple channel sources. Fixed segfault
9 years ago
f4exb
df1e09fdb7
Tx: new handling of multiple channel sources (1)
9 years ago
f4exb
1056a39983
Tx support: single channel: make FIFO read and writes truly independent (optimized)
9 years ago
f4exb
420ef78ad5
Tx support: single channel: make FIFO read and writes truly independent (unoptimized)
9 years ago
f4exb
8801462f96
DSP device sink engine: simplify code for single channel source handling
9 years ago
f4exb
3bc221bab8
Server: web API: /sdrangel/deviceset/{deviceSetIndex}/device/run POST,DELETE. LimeSDR Tx example working
9 years ago
f4exb
49d1439981
Device source plugins: implemented an init method for initializations to be done when all collaborating objects are created and possibly connected
9 years ago
f4exb
b281a63f08
Removed start threaded sink from device engine
9 years ago
f4exb
512900d98c
Finalized the new source/sink GUI messaging scheme
9 years ago
f4exb
3a3d8e3dcb
activated compiler warnings
10 years ago
f4exb
414a7ccd87
Refactoring: removed device parameter from all start() methods in sample sink plugins
10 years ago
f4exb
03ff449ec8
Multiple modulators support: optimization: comment out code that is useless when processing sample by sample
10 years ago
f4exb
9213c85d6a
Multiple modulators support: returned to one by one sample handling but pull a chunk of audio samples. Works with at least 3 modulators. Special handling of division factor
10 years ago
f4exb
5598265e66
Multiple modulators support: works with two modulators
10 years ago
f4exb
e02ac85e50
All modulators: use buffer for input audio that is always in use while generation is running. This fixes lockup problem reported in issue #11
10 years ago
f4exb
f5572eebc0
More debug messsages
10 years ago
f4exb
e05822ba02
Implement own FIFO in BasebandSampleSource. SampleSourceFIFO: remove useless chunk size completely and set initial fill to only half the FIFO size
10 years ago
f4exb
1afd8df5f9
Modulators: changed single Tx channel samples feed handling
10 years ago
f4exb
441c2c1817
Send number of samples to write in the writeData signal. Ask for half the buffer size when more than half of it is consumed
10 years ago
f4exb
ee55747c0b
Tx ph.1: FileSink: set sample source FIFO size depending on sample rate
10 years ago
f4exb
5021d15162
Tx ph.1: Connect sample source FIFO read signal with forwarding samples to spectrum sink
10 years ago
f4exb
289c1a203f
Tx ph.1: Sample source FIFO read with signal. Use a specific spectrum sink (vis) reference in Device sink engine for main spectrum rendering
10 years ago