aboutsummaryrefslogtreecommitdiffstats
path: root/host/lib/types.cpp
diff options
context:
space:
mode:
authorJosh Blum <josh@joshknows.com>2010-04-05 17:42:22 -0700
committerJosh Blum <josh@joshknows.com>2010-04-05 17:42:22 -0700
commite4f75a9271cc20702444641a3e8d442e12492c11 (patch)
treea9135bfa9d4ef5b648d861e7de9c7bf989867d2c /host/lib/types.cpp
parent9c1e7c5b8804a821e9a48908e7302327e4b9070d (diff)
parent97496ace66842f9d7529793b2b202be9abe156c3 (diff)
downloaduhd-e4f75a9271cc20702444641a3e8d442e12492c11.tar.gz
uhd-e4f75a9271cc20702444641a3e8d442e12492c11.tar.bz2
uhd-e4f75a9271cc20702444641a3e8d442e12492c11.zip
Merge branch 'rework' of git@ettus.sourcerepo.com:ettus/uhd
Diffstat (limited to 'host/lib/types.cpp')
-rw-r--r--host/lib/types.cpp7
1 files changed, 4 insertions, 3 deletions
diff --git a/host/lib/types.cpp b/host/lib/types.cpp
index bf9f8b895..d87238161 100644
--- a/host/lib/types.cpp
+++ b/host/lib/types.cpp
@@ -71,9 +71,9 @@ clock_config_t::clock_config_t(void){
/***********************************************************************
* stream command
**********************************************************************/
-stream_cmd_t::stream_cmd_t(void){
+stream_cmd_t::stream_cmd_t(const stream_mode_t &stream_mode_){
+ stream_mode = stream_mode_;
stream_now = true;
- continuous = false;
num_samps = 0;
}
@@ -85,7 +85,8 @@ rx_metadata_t::rx_metadata_t(void){
has_stream_id = false;
time_spec = time_spec_t();
has_time_spec = false;
- is_fragment = false;
+ more_fragments = false;
+ fragment_offset = 0;
}
tx_metadata_t::tx_metadata_t(void){