summaryrefslogtreecommitdiff
path: root/gr-blocks/include/gnuradio/blocks/file_source.h
diff options
context:
space:
mode:
Diffstat (limited to 'gr-blocks/include/gnuradio/blocks/file_source.h')
-rw-r--r--gr-blocks/include/gnuradio/blocks/file_source.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/gr-blocks/include/gnuradio/blocks/file_source.h b/gr-blocks/include/gnuradio/blocks/file_source.h
index 5682853a35..bba09ad502 100644
--- a/gr-blocks/include/gnuradio/blocks/file_source.h
+++ b/gr-blocks/include/gnuradio/blocks/file_source.h
@@ -77,6 +77,11 @@ namespace gr {
* \brief Close the file handle.
*/
virtual void close() = 0;
+
+ /*!
+ * \brief Add a stream tag to the first sample of the file if true
+ */
+ virtual void set_begin_tag(bool val) = 0;
};
} /* namespace blocks */