aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMartin Braun <martin.braun@ettus.com>2014-02-28 18:13:18 +0100
committerMartin Braun <martin.braun@ettus.com>2014-04-01 18:26:06 +0200
commitfd2267819a414c6adb25c6c0bdac6a78cc480b8d (patch)
tree781f4efbff227fcdb3d5220cbb233fe47bf3db27
parentd7b8a6d7c22b4413d0343b4c0752d91aa1ec4d67 (diff)
downloaduhd-fd2267819a414c6adb25c6c0bdac6a78cc480b8d.tar.gz
uhd-fd2267819a414c6adb25c6c0bdac6a78cc480b8d.tar.bz2
uhd-fd2267819a414c6adb25c6c0bdac6a78cc480b8d.zip
uhd: Registered sc12 as type
-rw-r--r--host/lib/convert/convert_impl.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/host/lib/convert/convert_impl.cpp b/host/lib/convert/convert_impl.cpp
index dc7f8f9dc..c7907ed83 100644
--- a/host/lib/convert/convert_impl.cpp
+++ b/host/lib/convert/convert_impl.cpp
@@ -134,6 +134,7 @@ UHD_STATIC_BLOCK(convert_register_item_sizes){
convert::register_bytes_per_item("sc64", sizeof(std::complex<boost::int64_t>));
convert::register_bytes_per_item("sc32", sizeof(std::complex<boost::int32_t>));
convert::register_bytes_per_item("sc16", sizeof(std::complex<boost::int16_t>));
+ convert::register_bytes_per_item("sc12", 3 * sizeof(std::complex<boost::int8_t>));
convert::register_bytes_per_item("sc8", sizeof(std::complex<boost::int8_t>));
//register standard real types