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
115b0ffa58
CLEANUP: some compiler and static analysis warnings
2017-01-28 14:57:27 +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
c3106613a2
Additional license headers, cleanup unused code defs/refs
2017-01-02 21:27:08 -05: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
Charles J. Cliffe
4783ae5be1
Dummy data bump shouldn't be needed now; racing with small bandwidths?
2016-07-10 20:29:31 -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
Charles J. Cliffe
423c83f500
mutex locking cleanup for demod add / remove chain
2016-06-02 21:48:01 -04:00
Charles J. Cliffe
6d63d570aa
comment out some noisy stdout logging until there's a proper facility for log outputs
2016-06-02 19:45:34 -04:00
Charles J. Cliffe
d2943b56c4
Merge branch 'session_bugfix'
2016-06-01 19:48:32 -04:00
Charles J. Cliffe
688181e566
Cleanup MSVC warnings and deprecated C++ exception stuff
2016-06-01 19:42:34 -04: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
c1863d9319
Basic cleanup / mutex additions / bulk demod add
2016-05-31 19:58:37 -04: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
4a64104050
Option to build using bundled mods only
2016-04-05 18:16:51 -04:00
Charles J. Cliffe
f22ef685f5
Static analysis related fixes
2016-03-30 19:34:36 -04:00
Charles J. Cliffe
93d2c73fb9
Add delta lock -- lock modem relative to center frequency
2016-02-15 17:43:10 -05:00
Charles J. Cliffe
7bf0ad47c5
Add swap I/Q setting for all devices
2016-02-15 15:07:57 -05:00
Charles J. Cliffe
fcfebf3d46
MSVC patch for atomic_bool init
2016-02-05 20:50:33 -05:00
Charles J. Cliffe
65005b60ac
Linux - missing header and warning fixes
2016-02-04 18:05:33 -05:00
Charles J. Cliffe
a0ae752b18
Make sure soapy devices are un-made before re-enumeration
2016-02-02 23:12:01 -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
Stanisław Pitucha
77b2d54870
Initialize frequency
2016-01-29 20:08:33 +11: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
93bc2c4d36
Merge branch 'master' into netsdr_rel_patch
2016-01-26 21:55:02 -05:00
Charles J. Cliffe
a364ffec6e
Merge pull request #265 from viraptor/unused_cleanup
...
Cleanup unused var warnings
2016-01-26 21:54:05 -05:00
Charles J. Cliffe
f5ca92281d
Always request streamMTU, handle 'overflow' within CubicSDR
2016-01-26 21:49:42 -05:00
Stanisław Pitucha
7a7bc910b1
Remove invalid const
...
const int return value doesn't really exist / is ignored. Fix a warning.
2016-01-27 11:39:17 +11:00
Stanisław Pitucha
c59f72d4a0
Cleanup unused var warnings
...
Clean up compiling output so that actual issues can be spotted. Remove multiple
cases of unused parameter. Remove unused isActive at startup. (demod is started
regardless)
2016-01-27 11:21:53 +11:00
Charles J. Cliffe
d1e0cf409d
Fix iterator usage for Linux
2016-01-24 10:14:24 -05:00
Charles J. Cliffe
b413c8454b
MSVC fix-up
2016-01-22 20:26:22 -05:00
Charles J. Cliffe
0b6edc09b6
Save/Load manually specified devices
2016-01-22 00:40:00 -05:00
Charles J. Cliffe
419705419c
Don't touch not-found device configs
2016-01-20 01:15:12 -05:00
Charles J. Cliffe
b1ac17729e
Manual/Remote SoapySDR device specification
2016-01-20 00:43:31 -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
68c409486e
Fix toggling between low/high bw with same channel count
2015-12-29 23:25:22 -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
68f0a986ee
Missing support module detection / info popup
2015-12-07 22:05:31 -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
1eb84d6fa7
SDRPostThread cleanup
2015-12-05 18:52:36 -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
df4270a760
Allow user-specified SoapySDR module path
2015-11-12 18:38:38 -05:00
Charles J. Cliffe
8f18c316de
Add "Local Net" section for discovered LAN devices
2015-11-11 00:16:26 -05:00
Charles J. Cliffe
6cd82ea44f
Optional title suffix, prefer local to bundled modules default
2015-11-10 19:25:41 -05:00
Charles J. Cliffe
f39a96022a
Add OSX SoapySDR module bundling support.
2015-11-08 16:45:06 -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
7027e7bf0b
Missed crash fix for channelizer channel 0
2015-10-27 17:06:39 -04:00
Charles J. Cliffe
3fc6f9ad80
Several crash/bug fixes, uninitialized vars
2015-10-27 16:53:06 -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
5fd4ba8059
Some DC-Spike removal magic..
...
Pay no attention to the spike behind the curtain.. <*|:-)
2015-10-21 19:50:53 -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
091ce26ed6
Dynamic input rate menu values from SoapySDR
2015-10-20 23:00:10 -04:00
Charles J. Cliffe
0af4de4e84
stream init order of operations fix
2015-10-20 01:54:20 -04:00
Charles J. Cliffe
67c184262a
Minor tweaks and cleanup
...
- add functions to access SDRPostThread
2015-10-18 12:26:07 -04:00
Charles J. Cliffe
6ee51711db
Fix channel gap on upper edge of spectrum
2015-10-17 18:25:14 -04:00
Charles J. Cliffe
f1475fb9be
Move DC correction to channel 0, reduce demod vis CPU usage
...
- Demod vis now uses channelizer output instead of decimation
- DC correction now only applied to channel 0
2015-10-17 16:17:12 -04:00
Charles J. Cliffe
beccdf8c63
firpfbch2->firpfbch experiment
...
- My assumption about this not working correctly may be wrong, this
actually seems to work ok compared to firpfbch2
2015-10-16 18:40:40 -04:00
Charles J. Cliffe
a4dc4498fc
Add support for my experimental firpfbch2_crcf_set_channel_state
...
- Needs my fork of liquid-dsp at:
https://github.com/cjcliffe/liquid-dsp/tree/firpfbch_toggle_channels
2015-10-15 21:01:07 -04:00
Charles J. Cliffe
249e04e69c
Move DC blocking filter to SDRThread
...
- DC blocker + Channelizer too heavy together
2015-10-15 01:35:08 -04:00
Charles J. Cliffe
d8c048fecc
SDRPostThread cleanup/refactor
...
- Cache active demodulators and channel info instead of running the
whole list each time
2015-10-14 18:09:29 -04:00
Charles J. Cliffe
edd154296c
FIR Polyphase filterbank channelizer prototype implementation
...
- Can now handle several 200khz FM streams with SDRPlay at 8Mhz+ on my
old 2010 Macbook Pro :)
- Demod bandwidth max now limited to 400khz, temporary until alternate
path for high-bandwidth is available
2015-10-14 00:54:48 -04:00
jocover
1ec45e84d5
fix setCORR bug and more device names support
2015-10-11 15:46:16 +08:00
Charles J. Cliffe
207d61cd0c
Merge pull request #156 from cjcliffe/master
...
Two crash fixes from master branch
2015-10-09 12:58:44 -04:00
Eoin Mcloughlin
2a95d05631
Fix crash when rtlsdr_open fails
2015-10-07 20:17:38 +01:00
Charles J. Cliffe
0df2439658
Make init asynchronous, support for SoapyRemote servers
...
- tested with 2xRTLSDR, SDRPlay + RTLSDR on Raspberry Pi
- parameters/info dialog portion currently hidden until it works
- remotes aren’t saved on exit yet
- can now start CubicSDR without devices (remote only mode)
- can’t currently refresh local or remote devices through UI
- can’t currently remove remotes through UI
2015-10-05 02:21:08 -04:00
Charles J. Cliffe
3bf0439c56
Integrate more soapy device params
...
- Check current sample/frequency ranges when switching devices to keep
them in bounds.
2015-10-04 19:55:52 -04:00
Charles J. Cliffe
bf9695ecd3
Separate SDR data thread and enumeration, device dialog
2015-10-04 16:07:14 -04:00
Charles J. Cliffe
4ce8bc1781
SDR Thread rework, async device init.
...
- Preparing for new device selection/configuration dialog.
2015-10-03 21:35:11 -04:00
Charles J. Cliffe
9d06fa77c7
Use hardware DC when available
...
- un-comment code in SoapySDRThread for remote testing…
2015-09-30 23:45:06 -04:00
Charles J. Cliffe
89ecf8eb9c
SoapySDRThread readStream buffering tweak
2015-09-26 20:39:33 -04:00
Charles J. Cliffe
404632f373
Limit frequency CORR changes to rtlsdr and rtl drivers
2015-09-26 01:41:30 -04:00
Charles J. Cliffe
fc068bff7a
Experimental [sample rate buffer <-> frame rate] balancing.
2015-09-22 21:03:23 -04:00
Charles J. Cliffe
6eb2636499
Fix device init and switching
2015-09-20 21:48:37 -04:00