[PATCH] librtlsdr: conditional USB transfer resubmit

This is merely a historical archive of years 2008-2021, before the migration to mailman3.

A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/osmocom-sdr@lists.osmocom.org/.

P j-pi at seznam.cz
Sun Oct 4 17:33:54 UTC 2015


This patch implements zero-copy overhead for buffers used for sample
transfer. This improves a bit performance for applications where low
overhead is required and can save a bit of memory.

Two changes are made:
  * add return value for callback function
  * add function for buffer release when it is free for reuse

This change breaks ABI (callback returns int instead of void), but I
cannot find way not to do so. Proper change of library version in
CMaleList.txt would be required.

Please comment on it and let my now if it is interesting enough to be
merged upstream.

JP

-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-librtlsdr-conditional-USB-transfer-resubmit.patch
Type: text/x-patch
Size: 5985 bytes
Desc: not available
URL: <http://lists.osmocom.org/pipermail/osmocom-sdr/attachments/20151004/f5bbef01/attachment.bin>


More information about the osmocom-sdr mailing list