#include <gr_core_api.h>
#include <gr_sync_block.h>
#include <boost/thread/mutex.hpp>
Go to the source code of this file.
Function Documentation
Opens filename as a source of items into a flowgraph. The data is expected to be in binary format, item after item. The itemsize of the block determines the conversion from bits to items.
If repeat is turned on, the file will repeat the file after it's reached the end.
- Parameters
-
| itemsize | the size of each item in the file, in bytes |
| filename | name of the file to source from |
| repeat | repeat file from start |