aboutsummaryrefslogtreecommitdiffstats
path: root/host/lib/types
diff options
context:
space:
mode:
authorJosh Blum <josh@joshknows.com>2011-02-03 18:51:42 -0800
committerJosh Blum <josh@joshknows.com>2011-02-03 18:51:42 -0800
commitd6c52af6a8ac2e2a85942116768cf69971aac48a (patch)
tree58f90b7da55eda0317ac1343ad7878c9adfdc631 /host/lib/types
parent5d459d1cb09cdce0c1fd4d7e7d0259310921b94f (diff)
parent43b19815fec253dc7e5538329f9fe1363f007b8a (diff)
downloaduhd-d6c52af6a8ac2e2a85942116768cf69971aac48a.tar.gz
uhd-d6c52af6a8ac2e2a85942116768cf69971aac48a.tar.bz2
uhd-d6c52af6a8ac2e2a85942116768cf69971aac48a.zip
Merge branch 'convert_fc64'
Diffstat (limited to 'host/lib/types')
-rw-r--r--host/lib/types/types.cpp1
1 files changed, 1 insertions, 0 deletions
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<double>);
case io_type_t::COMPLEX_FLOAT32: return sizeof(std::complex<float>);
case io_type_t::COMPLEX_INT16: return sizeof(std::complex<boost::int16_t>);
case io_type_t::COMPLEX_INT8: return sizeof(std::complex<boost::int8_t>);