discuss-gnuradio
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Discuss-gnuradio] callback function called twice


From: Nemanja Savic
Subject: Re: [Discuss-gnuradio] callback function called twice
Date: Thu, 28 Feb 2013 09:53:21 +0100

Was any nonsense in previous post?


On Wed, Feb 27, 2013 at 2:16 PM, Nemanja Savic <address@hidden> 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ć

reply via email to

[Prev in Thread] Current Thread [Next in Thread]