On Sun, Oct 14, 2012 at 10:18 AM, sumitstop
<
[hidden email]> wrote:
> Q: What is the difference between gr.file_descriptor_source/sink and
> gr.file_source/sink .. I mean when shall we prefer one over other ?
file_source/sink takes in a string for a file name. This block will
create a new file with that name.
file_descriptor_source/sink takes in a file descriptor and writes to
that. This means you create your file descriptor externally and pass
it to the block. The file descriptor can be anything, now, an actual
file, FIFO, device, etc.
Tom
_______________________________________________
Discuss-gnuradio mailing list
[hidden email]
https://lists.gnu.org/mailman/listinfo/discuss-gnuradio