Use whole/fractional timestamps in the whole chain. This prevents loss

of precision when setting time to UTC.
This commit is contained in:
Nick Foster
2015-04-17 14:07:28 -07:00
parent da15a2daf2
commit 9bdac2a499
6 changed files with 51 additions and 37 deletions

View File

@@ -37,11 +37,11 @@ class AIR_MODES_API preamble : virtual public gr::block
{
public:
typedef boost::shared_ptr<preamble> sptr;
static sptr make(int channel_rate, float threshold_db);
static sptr make(float channel_rate, float threshold_db);
virtual void set_rate(int channel_rate) = 0;
virtual void set_rate(float channel_rate) = 0;
virtual void set_threshold(float threshold_db) = 0;
virtual int get_rate(void) = 0;
virtual float get_rate(void) = 0;
virtual float get_threshold(void) = 0;
};