]> git.gag.com Git - debian/gnuradio/blobdiff - usrp/host/lib/fusb_sysconfig_win32.cc
Merged -r3596:3600 of eb/ra_wb into trunk. This contains the
[debian/gnuradio] / usrp / host / lib / fusb_sysconfig_win32.cc
index b1f2447c4a678acecf3061bcc158a3bdd28e3ab0..282e77ac4c67fe8c7f2534e7a1ae439dbec9ce32 100644 (file)
@@ -24,6 +24,7 @@
 #include <fusb_win32.h>
 
 static const int MAX_BLOCK_SIZE = 64 * 1024;           // Windows kernel hard limit
+static const int FUSB_BUFFER_SIZE = 2 * (1L << 20);    // 2 MB (was 8 MB)
        
 fusb_devhandle *
 fusb_sysconfig::make_devhandle (usb_dev_handle *udh)
@@ -35,3 +36,8 @@ int fusb_sysconfig::max_block_size ()
 {
   return MAX_BLOCK_SIZE;
 }
+
+int fusb_sysconfig::default_buffer_size ()
+{
+  return FUSB_BUFFER_SIZE;
+}