pothosware / SoapyPlutoSDR

Soapy SDR plugin for PlutoSDR
https://github.com/pothosware/SoapyPlutoSDR/wiki
GNU Lesser General Public License v2.1
53 stars 22 forks source link

Add direct copy for all formats, remove LUT #16

Closed zuckschwerdt closed 5 years ago

zuckschwerdt commented 5 years ago

Adds the fast copy loops for CF32 and CS8 from #14.

Also updates the code style with narrower var scope, easier to follow names (data flow is src > conv > dst), replaces uintptr_t with uint8_t for well defined pointer arithmetic, and drops explicit void casts.

vsonnier commented 5 years ago

@zuckschwerdt Looks good. Merge at will.

zuckschwerdt commented 5 years ago

I fixed a bug with #18 but this still faults on deactivateStream. Will take some time to debug.

zuckschwerdt commented 5 years ago

Confirmed to work now, the missing piece is in b6753f4 – missing locking killed the buffer while readStream was concurrent.