Merged -r3596:3600 of eb/ra_wb into trunk. This contains the
[debian/gnuradio] / usrp / host / lib / usrp_basic.cc
index baecb666fdf637f33423bf9b135895bfe4558d1e..2eef14727701fd6905df67e1b4ee406d1ebb56d8 100644 (file)
@@ -42,8 +42,7 @@ using namespace ad9862;
 // These set the buffer size used for each end point using the fast
 // usb interface.  The kernel ends up locking down this much memory.
 
-static const int FUSB_BUFFER_SIZE = 2 * (1L << 20);    // 2 MB (was 8 MB)
-//static const int FUSB_BUFFER_SIZE = 256 * (1L << 10);        // 256 kB
+static const int FUSB_BUFFER_SIZE = fusb_sysconfig::default_buffer_size();
 static const int FUSB_BLOCK_SIZE = fusb_sysconfig::max_block_size();
 static const int FUSB_NBLOCKS    = FUSB_BUFFER_SIZE / FUSB_BLOCK_SIZE;