summaryrefslogtreecommitdiffstats
path: root/host/lib
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-10 21:01:50 +0200
commitb391996eca060a25063ceb9bdc9afd0d9979f3b4 (patch)
treebdd8c44a762431e6b716d8678f0b84164e0a8d2f /host/lib
parent2ca6575ff390caf74702c5f3b92fa5a1e09d5414 (diff)
downloaduhd-b391996eca060a25063ceb9bdc9afd0d9979f3b4.tar.gz
uhd-b391996eca060a25063ceb9bdc9afd0d9979f3b4.tar.bz2
uhd-b391996eca060a25063ceb9bdc9afd0d9979f3b4.zip
uhd: Registered sc12 as type
Diffstat (limited to 'host/lib')
-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