Hi Martin, But the buffers are already allocated, and I assume that they are not resized dynamically. So even if you change the relative rate at runtime, you will get into the "sched: <xxx> is requesting more input data than we can provide" error. So I do not understand how the scheduler is going to use the relative rate info WHILE the flowgraph is running. I assume it uses only the forecast method only, no?
Miklos On Sat, Jan 25, 2014 at 2:43 PM, Martin Braun <[email protected]> wrote: > On 01/25/2014 02:23 PM, Miklos Maroti wrote: >> One more question: >> >> Can I change the relative rate (with set_relative_rate) while the >> flowgraph is running? What effect does that have? > > Yes, you can. As you said, the relative rate is a pointer for the > scheduler to figure out how much stuff you need at input for a given > output. You can change it at runtime, and it will still do just that. > > MB > > > _______________________________________________ > Discuss-gnuradio mailing list > [email protected] > https://lists.gnu.org/mailman/listinfo/discuss-gnuradio _______________________________________________ Discuss-gnuradio mailing list [email protected] https://lists.gnu.org/mailman/listinfo/discuss-gnuradio
