aboutsummaryrefslogtreecommitdiffstats
path: root/host/lib/types
diff options
context:
space:
mode:
authorJosh Blum <josh@joshknows.com>2011-02-03 16:45:34 -0800
committerJosh Blum <josh@joshknows.com>2011-02-03 16:45:34 -0800
commit43b19815fec253dc7e5538329f9fe1363f007b8a (patch)
tree152724e647f8986868ef521154720ec9a5b8544d /host/lib/types
parent1c8626e40cc9e5243cea0956c6d35d9d96c08d38 (diff)
downloaduhd-43b19815fec253dc7e5538329f9fe1363f007b8a.tar.gz
uhd-43b19815fec253dc7e5538329f9fe1363f007b8a.tar.bz2
uhd-43b19815fec253dc7e5538329f9fe1363f007b8a.zip
uhd: added io type and conversion for complex64 (its not really useful)
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>);