commit-gnuradio
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Commit-gnuradio] r9964 - gnuradio/branches/developers/eb/cppdb-wip/gr-u


From: trondeau
Subject: [Commit-gnuradio] r9964 - gnuradio/branches/developers/eb/cppdb-wip/gr-usrp/src
Date: Sun, 9 Nov 2008 19:08:29 -0700 (MST)

Author: trondeau
Date: 2008-11-09 19:08:29 -0700 (Sun, 09 Nov 2008)
New Revision: 9964

Modified:
   gnuradio/branches/developers/eb/cppdb-wip/gr-usrp/src/usrp_sink_base.cc
   gnuradio/branches/developers/eb/cppdb-wip/gr-usrp/src/usrp_source_base.cc
Log:
Starts usb device to read/write data

Modified: 
gnuradio/branches/developers/eb/cppdb-wip/gr-usrp/src/usrp_sink_base.cc
===================================================================
--- gnuradio/branches/developers/eb/cppdb-wip/gr-usrp/src/usrp_sink_base.cc     
2008-11-09 22:53:28 UTC (rev 9963)
+++ gnuradio/branches/developers/eb/cppdb-wip/gr-usrp/src/usrp_sink_base.cc     
2008-11-10 02:08:29 UTC (rev 9964)
@@ -63,10 +63,13 @@
   // All calls to d_usrp->write must be multiples of 512 bytes.
 
   set_output_multiple (OUTPUT_MULTIPLE_SAMPLES);
+  
+  d_usrp->start();
 }
 
 usrp_sink_base::~usrp_sink_base ()
 {
+  d_usrp->stop();
 }
 
 int

Modified: 
gnuradio/branches/developers/eb/cppdb-wip/gr-usrp/src/usrp_source_base.cc
===================================================================
--- gnuradio/branches/developers/eb/cppdb-wip/gr-usrp/src/usrp_source_base.cc   
2008-11-09 22:53:28 UTC (rev 9963)
+++ gnuradio/branches/developers/eb/cppdb-wip/gr-usrp/src/usrp_source_base.cc   
2008-11-10 02:08:29 UTC (rev 9964)
@@ -63,10 +63,13 @@
   // We jack this up to 4k to reduce overhead.
 
   set_output_multiple (OUTPUT_MULTIPLE_BYTES / 
output_signature->sizeof_stream_item (0));
+
+  d_usrp->start();
 }
 
 usrp_source_base::~usrp_source_base ()
 {
+  d_usrp->stop();
 }
 
 unsigned int





reply via email to

[Prev in Thread] Current Thread [Next in Thread]