summaryrefslogtreecommitdiff
path: root/usrp/host/lib/fusb_sysconfig_darwin.cc
diff options
context:
space:
mode:
Diffstat (limited to 'usrp/host/lib/fusb_sysconfig_darwin.cc')
-rw-r--r--usrp/host/lib/fusb_sysconfig_darwin.cc7
1 files changed, 7 insertions, 0 deletions
diff --git a/usrp/host/lib/fusb_sysconfig_darwin.cc b/usrp/host/lib/fusb_sysconfig_darwin.cc
index 4ea7ef8bd..f66c298db 100644
--- a/usrp/host/lib/fusb_sysconfig_darwin.cc
+++ b/usrp/host/lib/fusb_sysconfig_darwin.cc
@@ -24,6 +24,7 @@
#include <fusb_darwin.h>
static const int MAX_BLOCK_SIZE = 32 * 1024; // 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,9 @@ int fusb_sysconfig::max_block_size ()
{
return MAX_BLOCK_SIZE;
}
+
+int fusb_sysconfig::default_buffer_size ()
+{
+ return FUSB_BUFFER_SIZE;
+}
+