Commit Graph

541 Commits

Author SHA1 Message Date
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
0cad2f1cfa Apparently something still needs this..
TODO: this
2015-10-21 00:35:06 -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
71383b4cb6 Avoid extra locking if queue is empty 2015-10-20 18:32:49 -04:00
Charles J. Cliffe
b822704b0c Tweak waterfall update mutex locking 2015-10-20 18:30:41 -04:00
Charles J. Cliffe
0af4de4e84 stream init order of operations fix 2015-10-20 01:54:20 -04:00
Charles J. Cliffe
6087588b3d MSVC simplification, easier to use alternate libs 2015-10-19 23:02:50 -04:00
Charles J. Cliffe
73733eabfe Update default sample rate
- Should fix startup for AirSpy
2015-10-18 14:18:26 -04:00
Charles J. Cliffe
c200048bf7 Reduce glTexSubImage2D calls
- far less texture update calls for high speed waterfall rates
2015-10-18 13:44:31 -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
2b08c5d248 Fixed and working with MSVC 32-bit 2015-10-10 01:13:48 -04:00
Charles J. Cliffe
b8cb4f9c9f Fix for linux (and possibly windows) startup error 2015-10-09 19:42:52 -04: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
0b10a5b30c Fix crash in AudioThread::setActive
If AudioThread::run() hasn't been called yet, we can dereference a null inputQueue
2015-10-07 20:18:29 +01:00
Eoin Mcloughlin
2a95d05631 Fix crash when rtlsdr_open fails 2015-10-07 20:17:38 +01:00
Charles J. Cliffe
dff879f233 Move deviceSelector init startup -> appframe
- Plus some minor static analysis fixes and missing atomic store() for
MSVC
2015-10-05 19:59:17 -04: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
d7d1008d89 tweak buffer memory usage 2015-10-01 22:23:02 -04:00
Charles J. Cliffe
942a511fea FFT data buffering tweaks, remove logging 2015-10-01 22:21:44 -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
748bb39795 fix waterfall lock-up 2015-09-30 02:07:00 -04:00
Charles J. Cliffe
730d123e23 Waterfall data distributor optimization
- Reduce memory thrashing and cpu usage from unnecessary buffer
allocations and deallocations
2015-09-29 22:34:34 -04:00
Charles J. Cliffe
f7e9d805e3 Whoops, HackRF needs more than 16Mhz :) 2015-09-27 19:18:51 -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
Charles J. Cliffe
d551d5f2c4 Make sure n_read is > 0 .. 2015-09-19 22:30:00 -04:00
Charles J. Cliffe
7f2f3d95d2 Fix soapy device args init 2015-09-14 20:31:39 -04:00
Charles J. Cliffe
1918707304 Initial experimental support for SoapySDR device input 2015-09-13 22:18:29 -04:00
Charles J. Cliffe
7a01c436d6 memory leak fix 2015-09-11 00:42:09 -04:00
Charles J. Cliffe
45d6531b82 remove test var 2015-09-11 00:13:30 -04:00
Charles J. Cliffe
52387f97f7 Merge pull request #142 from cjcliffe/fftdata_nodrop
Fix Waterfall Jitter
2015-09-11 00:07:29 -04:00
Charles J. Cliffe
9906816c19 Remove test var 2015-09-11 00:03:02 -04:00
Charles J. Cliffe
aa5a162888 Cleanup 2015-09-10 23:42:22 -04:00
Charles J. Cliffe
eec1d7936f smoothest windows results so far 2015-09-10 23:01:10 -04:00
Charles J. Cliffe
0a6d409065 tex update lock, VisualData"Re"Distributor 2015-09-10 21:48:18 -04:00
Charles J. Cliffe
4301d0d434 fix missing processed check 2015-09-10 19:56:15 -04:00