Thanks to Sylvain and Marcus.

I think I've solved problem.

Regards,
Jeon.

2015-05-30 11:26 GMT+09:00 Sylvain Munaut <[email protected]>:

> Hi,
>
> > As I understand, if I consume(0, n), where n is less than ninput_items,
> then
> > only n samples at the front of input_items[] are consumed and unconsumed
> > part remains. And then, at the next call of general_work(), incoming
> samples
> > are appended at the end of input_item[]. Is this right?
> >
> > If it is right, I can get a single whole payload by not consuming input
> > samples after some time passed...
>
> Not really. Because the buffers are allocated only once at the start
> and not resized and not really under your control.
>
> So if you leave the sample in there, and the buffer fills up and you
> still don't have a full payload, the graph will stall forever.
> It's annoying and a pattern that comes up quite often but it's the way
> it works ATM.
>
>
> Cheers,
>
>     Sylvain
>
_______________________________________________
Discuss-gnuradio mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/discuss-gnuradio

Reply via email to