On 01/14/2012 09:42 AM, André Selva wrote:
I think that making the buffer larger wouldn't help much.
My problem is: I have an interleaver, where i pass my data through.
This interleaver is made of several shifters, of different sizes. The
input goes through the shifters in an especific order (given by
keying), and the output is formed by keying the shifters output in a
different order. The problem is that if the buffer finishes and i lost
the data inside the shifters, i'll lost data. So i need to conservate
this structures among each bufferized execution of the block.
Is that possible? What i think that may be helpful is some sort of
global structure where i can store this status.
Best Regards,
It's C++, when you instantiate the block, you can allocate whatever
structures you want to maintain state across invocations of your
work() function. Just make sure that your destructor deallocates
said state maintaining structures.
--
Marcus Leech
Principal Investigator
Shirleys Bay Radio Astronomy Consortium
http://www.sbrac.org
_______________________________________________
Discuss-gnuradio mailing list
Discuss-gnuradio@gnu.org
https://lists.gnu.org/mailman/listinfo/discuss-gnuradio