On Mon, May 25, 2009 at 11:22:38PM +0000, feldmaus wrote:
> Eric Blossom <eb <at> comsec.com> writes:
> 
> > What you are seeing is the expected behavior.
> > 
> Thanks for your Answer,
> 
> so you mean this is the normal behaviour, that it doesnt have the same
> count of samples at all file_sinks ?
> 
> regards Markus

Markus,

It does save all of the samples that it's seen.  GNU Radio does not
process everything "instantaneously".  Since you're not causing the
graph to stop synchronously, say using gr.head, or by providing input
from a file, the graph is stopping at the first interruption point
that it comes to after seeing stop().  There are many threads
involved, and they are not all stopped atomically.

If you feed your graph from a file and let it run to the EOF, you
would get the same number of samples in all three files.

Eric



_______________________________________________
Discuss-gnuradio mailing list
Discuss-gnuradio@gnu.org
http://lists.gnu.org/mailman/listinfo/discuss-gnuradio

Reply via email to