Clearing gnuradio buffers


#1

Hi,
Is there any way to clear the buffers of the gnuradio blocks in the C++
code - suppose I want to clear the contents (set the buffer indexes) in
the buffer of a block what do I do?
I didnt see anything in the code? Is it possible to do it?

Thanks
Ges


#2

On Tue, May 09, 2006 at 03:05:46PM -0700, Ges wrote:

Hi,

Is there any way to clear the buffers of the gnuradio blocks in the
C++ code - suppose I want to clear the contents (set the buffer
indexes) in the buffer of a block what do I do? I didnt see
anything in the code? Is it possible to do it?

Thanks
Ges

I’m not sure what you mean by “clearing the buffers”.

The upstream blocks write into the buffers.
The downstream blocks read from the buffers.

There’s no “clearing” involved.

Eric