Hi guys,

this is kind of very old thread, but the same problem. I started changing
my blocks for 3.7.0 and callbacks are called twice. Is there any
explanation for this acting?

thanks,
Nemanja


On Thu, Feb 28, 2013 at 9:53 AM, Nemanja Savic <vlasi...@gmail.com> wrote:

> Was any nonsense in previous post?
>
>
> On Wed, Feb 27, 2013 at 2:16 PM, Nemanja Savic <vlasi...@gmail.com> wrote:
>
>> Hi again GNURADIOers,
>>
>> I have a set member function which is also used as a callback from GRC.
>> It looks like this:
>>
>> void
>> test_file_sink::set_sensitivity(double milisecond)
>> {
>>     d_n_samples = (unsigned
>> int)(milisecond*d_sample_rate/1000.0)*d_itemsize;
>>   printf("\nd_n_samples: %d\n", d_n_samples);
>>     init_old_data_buff();
>> }
>>
>> When I run flowgraph, and change "sensitivity", my callback function is
>> called twice.
>> Is this normal action?
>>
>> Best
>>
>> --
>> Nemanja Savić
>>
>
>
>
> --
> Nemanja Savić
>



-- 
Nemanja Savić
_______________________________________________
Discuss-gnuradio mailing list
Discuss-gnuradio@gnu.org
https://lists.gnu.org/mailman/listinfo/discuss-gnuradio

Reply via email to