libmirisdr-4
libmirisdr-4 copied to clipboard
RSP1A support
Everything is in the title. If someone could help ...
I have a RSP1A. But miri_sdr fails. With some extra LIBUSB_DEBUG, I get:
winusb_open] unsupported API call for 'open' (unrecognized device driver)
Some parameter error to libusb_open()?
Edit: on second thought, I think supporting SDRPlay (any version) via libusb, is just a dead-end project. I have built SoapySDR with SDRPlay support. That works fine using the mir_sdr_api.dll and API provided by the folks who created SDRPlay. The above libusb error (-12), I think is due to an access denied or an incompatibility with the existing Mirics driver. Correct me if I'm wrong.
So my idea was do as SoapySDR does; load mir_sdr_api.dll dynamically and just create some wrappers.
E.g. if mirisdr_open() fails, call (*mir_sdr_Init_t)(...) instead.