[patch]: rtl_sdr, fix -n parameter

Henk henk.vergonet at gmail.com
Mon Jan 11 16:32:54 UTC 2016


Fix bytes_to_read adjustment in callback.

For example bug exposes itself with:
  rtl_sdr -f 100e6 -s 2048000 -n 245.76e6 /tmp/100M.iq
and does not terminate after the expected 245.76e6 samples.
Which is an exact multiple of "out_block_size".

Signed-off-by: Henk vergonet <henk.vergonet at gmail.com>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: rtl_sdr.patch
Type: application/octet-stream
Size: 607 bytes
Desc: not available
URL: <http://lists.osmocom.org/pipermail/osmocom-sdr/attachments/20160111/b680a5cb/attachment.obj>


More information about the osmocom-sdr mailing list