aboutsummaryrefslogtreecommitdiffstats
path: root/host/lib/convert
diff options
context:
space:
mode:
authorBen Hilburn <ben.hilburn@ettus.com>2014-04-10 13:05:30 -0700
committerBen Hilburn <ben.hilburn@ettus.com>2014-04-10 13:05:30 -0700
commitd3459ad697b4c38354731eb6e6fc1075b194d5ea (patch)
treecdc8fb0fbf8cee90d3b3d279b31b0372f1f04a57 /host/lib/convert
parentbab808d883366123a944ce047a0b88a1b3ce1117 (diff)
parentdfd019c5b76446830031c0c2352f0558dd48c210 (diff)
downloaduhd-d3459ad697b4c38354731eb6e6fc1075b194d5ea.tar.gz
uhd-d3459ad697b4c38354731eb6e6fc1075b194d5ea.tar.bz2
uhd-d3459ad697b4c38354731eb6e6fc1075b194d5ea.zip
Merge branch 'martin/warn_sampling_rate'
Warn users if they request a sample rate greater than the interface bandwidth.
Diffstat (limited to 'host/lib/convert')
-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