The primary issues right now are that (1) both the USRP and my
fusb_darwin codes copy LIBUSB internals to get the job done (mine is
very dependent right now, but I'll reduce that with re-programming
some things); and (2) some LIBUSB calls are made directly, while
others are through the USRP's "fusb" implementation. My fusb_darwin
code is much more efficient that libusb's already since it's darwin-
specific (instead of an OS-blind wrapper into darwin code), but could
be even more so if all the USB calls were routed through it (i.e. I
would put all the USB code into FUSB, and not even use LIBUSB; a C++
class works -so- much better than LIBUSB's C code).
Thus, IMHO what needs to happen is to route -all- USB calls through
FUSB, so that there is 1 place to deal with "everything USB". That
won't immediately take care of the "internals" problem, but it would
centralize all USB calls and issues into a few files, and make a
cleaner USB interface for all platforms. Thoughts? - MLD
_______________________________________________
Discuss-gnuradio mailing list
Discuss-gnuradio@gnu.org
http://lists.gnu.org/mailman/listinfo/discuss-gnuradio