diff options
author | Josh Blum <josh@joshknows.com> | 2010-07-23 22:55:30 -0700 |
---|---|---|
committer | Josh Blum <josh@joshknows.com> | 2010-07-27 15:45:49 -0700 |
commit | c2b97490b7920f67d7522a1640b9c53b014a5349 (patch) | |
tree | de9deef0506d243ecc1209c4bf74645cfeaa81f2 /host/lib/usrp/usrp2/dboard_impl.cpp | |
parent | 3b056a00425c8c1cc907a14983611268efb86878 (diff) | |
download | uhd-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.cpp | 8 |
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(); } } |