airspyone_host v1.0.10 (libairspy), BSD 3-Clause – https://github.com/airspy/airspyone_host/tree/v1.0.10
Change by MultiScan: airspy_close() calls free_transfers() before airspy_open_exit(), so that
libusb_free_transfer() does not read the already closed device handle (crash on Windows).
Windows build: x86_64-w64-mingw32-gcc -std=gnu11 -O2 -s -shared -DADD_EXPORTS, libusb 1.0.30 static.
Change by MultiScan: the libusb transfer callback resubmits a transfer that timed out, stalled,
overflowed or came back short (counted as a dropped buffer) instead of ending the stream; only
NO_DEVICE / ERROR / CANCELLED end it.
Change by MultiScan: a stream that ended on its own (failed USB transfer) is torn down completely
on stop / close / the next start – threads joined, transfers cancelled and their callbacks
collected before they are freed or submitted again (crash in airspy_close on macOS, 2026-12-02).
macOS build: clang -O2 -dynamiclib (build_mac.sh), against Homebrew libusb.
Source of exactly this version (with BUILD.txt): https://www.medienwerk.eu/multiscan/source/libairspy-multiscan.tar.gz
Linux build: gcc -O2 -fPIC -shared, linked against the system libusb-1.0 (Tools/linux/package_linux.sh).
