From 43b19815fec253dc7e5538329f9fe1363f007b8a Mon Sep 17 00:00:00 2001 From: Josh Blum Date: Thu, 3 Feb 2011 16:45:34 -0800 Subject: uhd: added io type and conversion for complex64 (its not really useful) --- host/lib/types/types.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'host/lib/types') diff --git a/host/lib/types/types.cpp b/host/lib/types/types.cpp index 34d5947eb..c1be2ff6d 100644 --- a/host/lib/types/types.cpp +++ b/host/lib/types/types.cpp @@ -68,6 +68,7 @@ otw_type_t::otw_type_t(void): **********************************************************************/ static size_t tid_to_size(io_type_t::tid_t tid){ switch(tid){ + case io_type_t::COMPLEX_FLOAT64: return sizeof(std::complex); case io_type_t::COMPLEX_FLOAT32: return sizeof(std::complex); case io_type_t::COMPLEX_INT16: return sizeof(std::complex); case io_type_t::COMPLEX_INT8: return sizeof(std::complex); -- cgit v1.2.3