diff options
author | Josh Blum <josh@joshknows.com> | 2010-09-30 14:51:41 -0700 |
---|---|---|
committer | Josh Blum <josh@joshknows.com> | 2010-09-30 14:51:41 -0700 |
commit | 2e7991fb7955fe94cdca82a094abf063c2466ee5 (patch) | |
tree | 802d9d7cad2877fb29307fc07d07b4c77f4e8c0c /host/include | |
parent | 2c8a7c7debf19d92065661cc1d258f97bd38e224 (diff) | |
parent | 487ef9836a4dc5654654cd7c18686ad8033fff54 (diff) | |
download | uhd-2e7991fb7955fe94cdca82a094abf063c2466ee5.tar.gz uhd-2e7991fb7955fe94cdca82a094abf063c2466ee5.tar.bz2 uhd-2e7991fb7955fe94cdca82a094abf063c2466ee5.zip |
Merge branch 'tvrx_uhd'
Diffstat (limited to 'host/include')
-rw-r--r-- | host/include/uhd/usrp/dboard_iface.hpp | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/host/include/uhd/usrp/dboard_iface.hpp b/host/include/uhd/usrp/dboard_iface.hpp index c7db244f2..c430ecd3f 100644 --- a/host/include/uhd/usrp/dboard_iface.hpp +++ b/host/include/uhd/usrp/dboard_iface.hpp @@ -242,6 +242,15 @@ public: * \param enb true for enabled */ virtual void set_clock_enabled(unit_t unit, bool enb) = 0; + + /*! + * Get the rate of the codec. + * For rx, this is the rate the ADC feeds the DSP. + * For tx, this is the rate the DSP feeds the DAC. + * \param unit which unit rx or tx + * \return the codec rate in Hz + */ + virtual double get_codec_rate(unit_t unit) = 0; }; }} //namespace |