For USRP2, implement auto scaling of TX pipeline such that [-1.0 1.0] input to
[debian/gnuradio] / usrp2 / host / include / usrp2 / usrp2.h
index 82b1c6449ffd2a1e20791ddc776399244fd69336..39da63aa5d8bc6da455772f33f768fbf7fe987e7 100644 (file)
@@ -219,6 +219,11 @@ namespace usrp2 {
     //! Return current interpolation factor
     int tx_interp();
 
+    /*
+     * \brief Calculate default scale_iq for given interpolation rate
+     */
+    void default_tx_scale_iq(int interpolation_factor, int *scale_i, int *scale_q);
+
     /*!
      * Set transmit IQ magnitude scaling
      */