Commit Graph

1693 Commits

Author SHA1 Message Date
Vincent Sonnier
c27e1e6514
Make stream deactivated before a sample-rate change and reactivated afterwards (#718)
* Make stream deactivated before a sample-rate chnage and reactivated afterwards

* Re-read sample rate and MTU AFTER stream activation to recompute CubicSDR buffers
2019-03-15 06:30:55 +01:00
Charles J. Cliffe
86c2817ba6 Merge branch 'master' into code_quality 2019-03-14 23:10:27 -04:00
Charles J. Cliffe
0f098e3cbb Compiler warnings: comment unused params 2019-03-14 23:07:51 -04:00
Charles J. Cliffe
3009da6194 Merge remote-tracking branch 'origin/master' into code_quality 2019-03-14 21:15:07 -04:00
Charles J. Cliffe
ea016e6638 Merge branch 'drahosj-master' 2019-03-14 21:02:52 -04:00
Charles J. Cliffe
2a75c2776e tabs->spaces 2019-03-14 21:01:19 -04:00
vsonnier
b18b609d61 Updated Windows liquid-dsp binaries again, from latest master 2019-03-12 22:04:05 +01:00
Diane Bruce
f449a65457 Add __FreeBSD__ where needed to properly compile on FreeBSD + fix for Windows 2019-03-11 20:14:19 +01:00
vsonnier
9e43beec1a Updated Windows liquid-dsp binaries part II: use exact same config.h as Linux goes, removed not-relevant files 2019-03-10 18:56:01 +01:00
Dantali0n
ed5993748f Fix for above 3Mhz sample rate on LimeSDR-USB
This problem could  also be present on other devices using the FX3 driver and is perhaps part of a larger general problem  in the LMS7 Soapy  module.
2019-03-09 20:33:17 +01:00
vsonnier
94e252db51 Fix wrong type for timeoutUs parameter of readStream 2019-03-09 18:23:06 +01:00
vsonnier
a2bd569e5a Fix wrong type for timeoutUs parameter of readStream 2019-03-09 18:22:49 +01:00
vsonnier
6d8c9f60d2 Maybe fixing #716: Nullify readStream timeout parameter effect which some modules effectively use (LimeSDR...) but we don't care 2019-03-09 17:59:22 +01:00
vsonnier
b6c81fe726 Add traces about MTU used size 2019-03-09 14:19:42 +01:00
vsonnier
f13af7f357 Updated Windows liquid-dsp binaries to latest version
- Take liquid-dsp master
- Align config.h MingW and Linux one.
- Make 64bit build target SSE4.2 while 32bit stays SSE3.
- Use latest MSYS2 version, i.e. GCC 8.3 for 64bit, GCC 7.4 for 32bit.
- Updated libwinpthread-1.dll from latest MSYS2
- Removed libliquid.a from msvsc libs since Visual Studio can't possibly static link MINGW lib.
==> 1.5x perf boost in CubicSDR :)
==> Maybe the config.h was wrong all this time, for instance HAVE_MMX wasn't defined. Well well.
2019-03-09 10:41:23 +01:00
Vincent Sonnier
c561292a27
Merge pull request #715 from cjcliffe/vso_spin_lock_adjustments2
More Spin locks experiments
2019-03-05 06:49:28 +01:00
vsonnier
1d2e35cbac More Spin locks experiments 2019-03-05 06:44:58 +01:00
Vincent Sonnier
fd30710d14
Merge pull request #714 from cjcliffe/vso_spin_lock_adjustments
No Spin-lock for xxxProcessor, unclear what the gain was
2019-03-04 18:46:14 +01:00
vsonnier
8dbd5de53d No Spin-lock for xxxProcessor, unclear what the gain was 2019-03-04 18:44:48 +01:00
vsonnier
8dfc7503f2 Fix wrong condition in DataTree 2019-03-03 13:22:29 +01:00
Vincent Sonnier
8b0d4c2449
Merge pull request #713 from cjcliffe/vso_use_spin_locks
Let's go to production and ask for forgiveness later.
2019-03-03 13:08:44 +01:00
vsonnier
6afa3a6d6a Reduced SpinMutex scope in VisualProcessor::distribute() 2019-03-03 11:42:34 +01:00
vsonnier
5ab44e3104 Use spin-locks for short-lived, non-recursive locking sequences 2019-03-03 10:36:10 +01:00
Vincent Sonnier
792bf20a9c
Merge pull request #711 from cjcliffe/vso_dataelement_rework
Tentative fix for #760
2019-03-02 16:27:49 +01:00
vsonnier
44a9274cb1 More fake partial template specialization 2019-03-01 22:18:43 +01:00
vsonnier
dd92e75cda Try to workaround explicit specialization in class scope error for GCC and friends 2019-02-28 22:05:27 +01:00
vsonnier
3b47045d28 Rework of DataElement to use more templates and much less memcpy... 2019-02-22 20:19:30 +01:00
Charles J. Cliffe
9ed085123a More AppFrame cleanup, active/current modem verbage adjustments 2019-02-11 22:59:43 -05:00
Charles J. Cliffe
abaf458ea1 Merge remote-tracking branch 'origin/master' into code_quality 2019-02-11 22:57:54 -05:00
Charles J. Cliffe
a958912da6 Move Session stuff to SessionMgr 2019-01-30 23:24:33 -05:00
Charles J. Cliffe
1f70f9189e AppFrame clean-up, first pass 2019-01-22 00:01:31 -05:00
Jake Drahos
4ca6e8dba9 Safer calls to setGainMode
Will call hasGainMode first - this will prevent crashes when the underlying
device situationally doesn't support setGainMode calls.
2019-01-13 21:53:37 -06:00
Charles J. Cliffe
b0505b0659
Merge pull request #700 from cjcliffe/travis-ci
Add hamlib, digital lab to CI, fix several build warnings
2019-01-10 21:48:40 -05:00
Charles J. Cliffe
c57a123130 Additional warning fixes; run brew update before brew install for hamlib 2019-01-10 21:23:26 -05:00
Charles J. Cliffe
e75387c25d Warning cleanup, fix travis config 2019-01-10 20:49:24 -05:00
Charles J. Cliffe
3a594de37f Enable hamlib + digital lab 2019-01-10 20:04:18 -05:00
Charles J. Cliffe
29702505da
Merge pull request #699 from cjcliffe/travis-ci
Travis-CI add MacOS build
2019-01-08 22:40:16 -05:00
Charles J. Cliffe
10ff7a5453 Fix wx cache logic 2019-01-08 21:57:15 -05:00
Charles J. Cliffe
45118b44e5 Script copypasta err, unify wx cache dirs 2019-01-08 21:50:47 -05:00
Charles J. Cliffe
dd49fbae4d separate build scripts and add platform logic 2019-01-08 21:44:04 -05:00
Charles J. Cliffe
5f829b2767 Rearranging scripts 2019-01-08 21:30:34 -05:00
Charles J. Cliffe
d561ed6b79 common build test 2019-01-08 21:24:49 -05:00
Charles J. Cliffe
4deaaaba5d Add some more steps for MacOS 2019-01-08 21:12:00 -05:00
Charles J. Cliffe
b234a51ef7 MacOS build test 2019-01-08 21:05:19 -05:00
Charles J. Cliffe
9961531620
Merge pull request #698 from cjcliffe/travis-ci
Travis-CI Build Script
2019-01-08 01:04:53 -05:00
Charles J. Cliffe
c133f1294f
Update build.sh
travis-ci timeout due to lack of output; AKA don't redirect wxWidgets build output to null :)
2019-01-08 00:44:06 -05:00
Charles J. Cliffe
ee4862f595
Update README.md 2019-01-08 00:05:36 -05:00
Charles J. Cliffe
9758b5670d
Update build.sh 2019-01-07 23:40:08 -05:00
Charles J. Cliffe
73aed6c9cc
Update build.sh 2019-01-07 23:32:36 -05:00
Charles J. Cliffe
849b7ca112
Update .travis.yml 2019-01-07 23:05:12 -05:00