xmikos / soapy_power

Obtain power spectrum from SoapySDR devices (RTL-SDR, Airspy, SDRplay, HackRF, bladeRF, USRP, LimeSDR, etc.)
MIT License
164 stars 35 forks source link

accumulate read buffers in case of short reads #14

Open xloem opened 6 years ago

xloem commented 6 years ago

This fixes the code for reading of soapy_power_bin files such that short reads are accumulated when loading the array. This allows for reading from data pipes and sockets correctly.