summaryrefslogtreecommitdiffstats
path: root/host/lib/transport
diff options
context:
space:
mode:
Diffstat (limited to 'host/lib/transport')
-rw-r--r--host/lib/transport/super_recv_packet_handler.hpp4
-rw-r--r--host/lib/transport/super_send_packet_handler.hpp4
2 files changed, 4 insertions, 4 deletions
diff --git a/host/lib/transport/super_recv_packet_handler.hpp b/host/lib/transport/super_recv_packet_handler.hpp
index 6762a8a00..2310d6aea 100644
--- a/host/lib/transport/super_recv_packet_handler.hpp
+++ b/host/lib/transport/super_recv_packet_handler.hpp
@@ -125,8 +125,8 @@ public:
void set_converter(const uhd::convert::id_type &id){
_io_buffs.resize(id.num_outputs);
_converter = uhd::convert::get_converter(id);
- _bytes_per_otw_item = uhd::convert::get_bytes_per_item(id.input_markup);
- _bytes_per_cpu_item = uhd::convert::get_bytes_per_item(id.output_markup);
+ _bytes_per_otw_item = uhd::convert::get_bytes_per_item(id.input_format);
+ _bytes_per_cpu_item = uhd::convert::get_bytes_per_item(id.output_format);
}
//! Set the transport channel's overflow handler
diff --git a/host/lib/transport/super_send_packet_handler.hpp b/host/lib/transport/super_send_packet_handler.hpp
index 5b5ee2981..779259d4f 100644
--- a/host/lib/transport/super_send_packet_handler.hpp
+++ b/host/lib/transport/super_send_packet_handler.hpp
@@ -101,8 +101,8 @@ public:
void set_converter(const uhd::convert::id_type &id){
_io_buffs.resize(id.num_inputs);
_converter = uhd::convert::get_converter(id);
- _bytes_per_otw_item = uhd::convert::get_bytes_per_item(id.output_markup);
- _bytes_per_cpu_item = uhd::convert::get_bytes_per_item(id.input_markup);
+ _bytes_per_otw_item = uhd::convert::get_bytes_per_item(id.output_format);
+ _bytes_per_cpu_item = uhd::convert::get_bytes_per_item(id.input_format);
}
/*!