aboutsummaryrefslogtreecommitdiffstats
path: root/lib/file/file_source_c.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/file/file_source_c.h')
-rw-r--r--lib/file/file_source_c.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/file/file_source_c.h b/lib/file/file_source_c.h
index d2d71ca..3e03037 100644
--- a/lib/file/file_source_c.h
+++ b/lib/file/file_source_c.h
@@ -21,6 +21,7 @@
#define FILE_SOURCE_C_H
#include <gnuradio/hier_block2.h>
+#include <gnuradio/blocks/file_source.h>
#include <gnuradio/blocks/throttle.h>
#include "source_iface.h"
@@ -49,6 +50,8 @@ public:
size_t get_num_channels( void );
+ bool seek( long seek_point, int whence, size_t chan );
+
osmosdr::meta_range_t get_sample_rates( void );
double set_sample_rate( double rate );
double get_sample_rate( void );
@@ -72,6 +75,7 @@ public:
std::string get_antenna( size_t chan = 0 );
private:
+ gr::blocks::file_source::sptr _source;
gr::blocks::throttle::sptr _throttle;
double _file_rate;
double _freq, _rate;