summaryrefslogtreecommitdiff
path: root/usrp2/host/include
diff options
context:
space:
mode:
authorjcorgan2009-05-11 15:31:33 +0000
committerjcorgan2009-05-11 15:31:33 +0000
commit15c56857d402a0b87647712774e06d8360addab4 (patch)
treead630b45ce73ef2438b8e37e0bcff7e5b6bec2d6 /usrp2/host/include
parent0947dd549077c64236a4fb1131d8af6aa7e70455 (diff)
downloadgnuradio-15c56857d402a0b87647712774e06d8360addab4.tar.gz
gnuradio-15c56857d402a0b87647712774e06d8360addab4.tar.bz2
gnuradio-15c56857d402a0b87647712774e06d8360addab4.zip
Apply Juha Vierinen patch to allow variable USRP2 rx buffer size
git-svn-id: http://gnuradio.org/svn/gnuradio/trunk@11000 221aa14e-8319-0410-a670-987f0aec2ac5
Diffstat (limited to 'usrp2/host/include')
-rw-r--r--usrp2/host/include/usrp2/usrp2.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/usrp2/host/include/usrp2/usrp2.h b/usrp2/host/include/usrp2/usrp2.h
index e80eda3e4..f4086440e 100644
--- a/usrp2/host/include/usrp2/usrp2.h
+++ b/usrp2/host/include/usrp2/usrp2.h
@@ -86,7 +86,7 @@ namespace usrp2 {
* If \p addr is HH:HH, it's treated as if it were 00:50:c2:85:HH:HH
* "" will autoselect a USRP2 if there is only a single one on the local ethernet.
*/
- static sptr make(const std::string &ifc, const std::string &addr="");
+ static sptr make(const std::string &ifc, const std::string &addr="", size_t rx_bufsize=0);
/*!
* Class destructor
@@ -578,10 +578,10 @@ namespace usrp2 {
private:
// Static function to retrieve or create usrp2 instance
- static sptr find_existing_or_make_new(const std::string &ifc, props *p);
+ static sptr find_existing_or_make_new(const std::string &ifc, props *p, size_t rx_bufsize);
// Only class members can instantiate this class
- usrp2(const std::string &ifc, props *p);
+ usrp2(const std::string &ifc, props *p, size_t rx_bufsize);
// All private state is held in opaque pointer
std::auto_ptr<impl> d_impl;