65 Commits

Author SHA1 Message Date
vsonnier
8776908340 Fixes #546, when MTU > nb samples per-frame, overflow management was wrong. 2017-05-23 11:09:29 +02:00
vsonnier
5797548739 SoapySDRThread tweak: directly resize to the final size when building SDRThreadIQData 2017-05-23 11:09:28 +02:00
vsonnier
41c7dd231b Fix tabs introduced in latest commits... 2017-05-21 10:03:21 +02:00
vsonnier
fc2716518d SoapySDRThread: more comments about the relation between MTU and sample rate 2017-05-21 09:20:41 +02:00
vsonnier
a541e55ff6 SaopySDRThread simplified, (small) perf improvement: No longer use inpBuffer,
write to SDRThreadIQData->data directly.
2017-05-20 13:31:46 +02:00
vsonnier
772e24fdb3 Better comments on CF32 format coming out of SoapySDR 2017-03-10 19:12:54 +01:00
vsonnier
97639d1d09 BIG FIX: Truncated stream of incoming samples on 32 bit targets !
This one is a veryy old long standing bug I was look for. All 32 bit Windows builds
suffered indeed of corrupted sound defects in all circumstances (reported even on rtl-sdr.com coments)
that had no identifiable origin... Until now.
Given the fix, all 32 bit adress targets should be affected as well...
2017-03-08 22:52:20 +01:00
vsonnier
c7467a88bc BLOCKING_QUEUE: prepare by raising up max queue lenghts
BLOCKING_QUEUE: Replaced ThreadQueue usage by ThreadBlockingQueue usage
BLOCKING_QUEUE: instrument all push() with timeouts, showed some call have to be non-blocking...
BLOCKING_QUEUE: tuned push()/try_push()
2017-02-14 18:42:05 +01:00
vsonnier
196c664cf4 Device Sample Rate improvements: UI, changed device sample rates to be expressed as long instead of int at some places for safety/consistency. Also pedantic harmless traces changes. 2017-01-21 12:56:16 +01:00
Charles J. Cliffe
3ec14fbe38 Licence fix, add SPDX-License-Identifier, remove unused code files 2017-01-02 21:07:43 -05:00
Charles J. Cliffe
8f1b68d20f Handle stream init errors 2016-07-24 11:59:59 -04:00
Charles J. Cliffe
884f740030 fix driver key case 2016-07-22 19:43:22 -04:00
Charles J. Cliffe
096a1aa5fd Temporary patch for bladerf until bandwidth option is available 2016-07-22 19:24:20 -04:00
vsonnier
21c8a81c32 TH_CLEAN_3.5: push() cleanup side of things, assure SDRThread::readStream() to actually check for full + make ThreadQueue notify even in case on not-successfull push(), make it spam notify_all() everytime 2016-07-08 23:30:15 +02:00
vsonnier
b495b388c9 TH_CLEAN_3: Use of non-blocking try_pop() when possible,
AudioThread concurrent access hardening and simplified,
and misc.
2016-07-05 21:45:42 +02:00
vsonnier
5d1cb788e0 FIX hang application, because SdrThread tries to auto-termitate itself 2016-07-03 18:17:39 +02:00
vsonnier
52de909cfb THREAD_CLEAN: Clearly distinguish between a request to stop by terminate() from the actual termination isTerminated() 2016-06-28 22:16:34 +02:00
vsonnier
4ec08b8b68 MISC 1 : Create ReBuffer by default with refcount 1, so remove redundant refCount(1) evertwhere 2016-06-09 19:38:20 +02:00
vsonnier
5bb43f5aaa Replace mutex lock/unlock pairs with guards, cleanups 2016-06-03 18:45:03 +02:00
vsonnier
357dcc967b MISC 1: make IOThread input and output queues returned as ThreadQueueBase*, not void*, cleaner.
then use static_cast for downcasts, because we know what we are doing
2016-06-01 19:42:11 +02:00
Charles J. Cliffe
68b095ef8d Save sample rate, gain levels and AGC state per-device, add sample rate to device dialog 2016-05-11 22:37:25 -04:00
Charles J. Cliffe
7bf0ad47c5 Add swap I/Q setting for all devices 2016-02-15 15:07:57 -05:00
Charles J. Cliffe
cc189cc274 Fix refresh, allow device dialog to update active device 2016-02-02 20:05:32 -05:00
Charles J. Cliffe
2518e22682 Update device on setting and bandwidth change 2016-02-02 19:27:08 -05:00
Charles J. Cliffe
609a2216ad SDR Device settings live refresh 2016-02-01 20:30:48 -05:00
Charles J. Cliffe
48aff5baf1 Remove SoapySDR::Device proxy classes and functions, use SoapySDR directly 2016-01-31 15:11:54 -05:00
Charles J. Cliffe
fd8d1e9198 Merge branch 'master' into netsdr_rel_patch 2016-01-28 17:58:20 -05:00
Stanisław Pitucha
035353123d Fix signed/unsigned variables 2016-01-29 07:49:31 +11:00
Charles J. Cliffe
f5ca92281d Always request streamMTU, handle 'overflow' within CubicSDR 2016-01-26 21:49:42 -05:00
Charles J. Cliffe
448455a69f Add 'Refresh' button to SDR Devices dialog 2016-01-17 21:54:22 -05:00
Charles J. Cliffe
1699c50676 Internal frequency locking support 2016-01-07 00:35:02 -05:00
Charles J. Cliffe
6eb511a559 Disable Soapy freq feedback -- causing weird issues with async implementations 2016-01-04 00:56:18 -05:00
Charles J. Cliffe
0ace8657b2 Fix offset frequency drift.. 2016-01-03 15:00:41 -05:00
Charles J. Cliffe
c94cdb0855 string setting fix, soapy device frequency setting control/feedback 2016-01-02 21:42:35 -05:00
Charles J. Cliffe
7d6a387a77 Updates and improvements for low-bandwidth input usage 2015-12-29 20:52:49 -05:00
Charles J. Cliffe
571ccd3f48 Save/Load and persist SoapySDR device settings 2015-12-06 00:32:32 -05:00
Charles J. Cliffe
f91a508da6 Channelizer tweaks 2015-12-05 19:07:26 -05:00
Charles J. Cliffe
cdc80b890b Add ReBuffer buffer count warning, fix SDRPostThread off-by-one channel reset 2015-12-04 22:10:51 -05:00
Charles J. Cliffe
5346bdd50d SDR Device dialog property settings now functional 2015-11-04 02:04:52 -05:00
Charles J. Cliffe
97cf6c4b23 SDRThread read/write setting support 2015-11-03 21:06:22 -05:00
Charles J. Cliffe
e04ec9ef37 Remove built-in RTLSDR settings to prepare for replacements, Device form propgrid test 2015-11-02 19:02:45 -05:00
Charles J. Cliffe
8878a22bd2 re-enable module dc correct 2015-11-01 11:34:20 -05:00
Charles J. Cliffe
d0b0606050 Merge pull request #177 from cjcliffe/soapysdr-loadmodule
SoapySDR bundling support for windows
2015-11-01 11:32:03 -05:00
Charles J. Cliffe
ad233cbb04 Use single mutex lock instead of atomic arrays for gain 2015-10-31 13:35:13 -04:00
Charles J. Cliffe
a1b73403a7 Soapy bundle option; requires SoapySDR/loader_work 2015-10-29 22:22:10 -04:00
Charles J. Cliffe
ac93aa369b Manual Gain Control :-)
- Disable AGC from settings menu
- Requires latest SoapySDRPlay gain commits for SDRPlay
2015-10-27 01:56:49 -04:00
Charles J. Cliffe
b89d606af3 SoapySDR 0.4.0 updates
- Requires up-to-date SoapySDR 0.4.x and re-built modules
2015-10-23 02:53:51 -04:00
Charles J. Cliffe
cd82ecb15b Put the default sample rates back, might be causing bad init.. 2015-10-21 16:56:32 -04:00
Charles J. Cliffe
d85c94ead0 Attempt best-match sample rate near "default"
- Fix hard-coded usage of DEFAULT_SAMPLE_RATE, now “suggested” rate
2015-10-20 23:57:54 -04:00
Charles J. Cliffe
0af4de4e84 stream init order of operations fix 2015-10-20 01:54:20 -04:00