aboutsummaryrefslogtreecommitdiffstats
path: root/host/lib/usrp/usrp2/dboard_impl.cpp
diff options
context:
space:
mode:
authorJosh Blum <josh@joshknows.com>2010-07-23 22:55:30 -0700
committerJosh Blum <josh@joshknows.com>2010-07-27 15:45:49 -0700
commitc2b97490b7920f67d7522a1640b9c53b014a5349 (patch)
treede9deef0506d243ecc1209c4bf74645cfeaa81f2 /host/lib/usrp/usrp2/dboard_impl.cpp
parent3b056a00425c8c1cc907a14983611268efb86878 (diff)
downloaduhd-c2b97490b7920f67d7522a1640b9c53b014a5349.tar.gz
uhd-c2b97490b7920f67d7522a1640b9c53b014a5349.tar.bz2
uhd-c2b97490b7920f67d7522a1640b9c53b014a5349.zip
usrp2: added codec impl for codec properties to usrp2
Diffstat (limited to 'host/lib/usrp/usrp2/dboard_impl.cpp')
-rw-r--r--host/lib/usrp/usrp2/dboard_impl.cpp8
1 files changed, 8 insertions, 0 deletions
diff --git a/host/lib/usrp/usrp2/dboard_impl.cpp b/host/lib/usrp/usrp2/dboard_impl.cpp
index 8942f9d31..de091fcdc 100644
--- a/host/lib/usrp/usrp2/dboard_impl.cpp
+++ b/host/lib/usrp/usrp2/dboard_impl.cpp
@@ -92,6 +92,10 @@ void usrp2_mboard_impl::rx_dboard_get(const wax::obj &key_, wax::obj &val){
val = _dboard_iface;
return;
+ case DBOARD_PROP_CODEC:
+ val = _rx_codec_proxy;
+ return;
+
default: UHD_THROW_PROP_GET_ERROR();
}
}
@@ -151,6 +155,10 @@ void usrp2_mboard_impl::tx_dboard_get(const wax::obj &key_, wax::obj &val){
val = _dboard_iface;
return;
+ case DBOARD_PROP_CODEC:
+ val = _tx_codec_proxy;
+ return;
+
default: UHD_THROW_PROP_GET_ERROR();
}
}