discuss-gnuradio
[Top][All Lists]
Advanced

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

Re: [Discuss-gnuradio] A question about the KEEP_M_IN_N block source cod


From: Marcus Müller
Subject: Re: [Discuss-gnuradio] A question about the KEEP_M_IN_N block source code...
Date: Tue, 12 Jul 2016 12:33:46 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.1.1

Hi Ali,

first of all: ladies on this list, too, and we're not overly formal, so a quick "Hi", or "Hello List" will do :)

I don't really understand the question; `blks` is used to calculate how many n-long "chunks" of samples there are in the current input, whereas set_fixed_rate just informs the scheduler of a fixed in- to output rate – which in keep_m_in_n is done by set_relative_rate.

I think there's more to your question, however – would you mind to explain?

Best regards,

Marcus


On 12.07.2016 08:25, Ali The GREAT! wrote:
Dear Sir,

I was wondering if we can use
         "set_fixed_rate()"
in the source code of the block "keep_m_in_n" at its constructor instead of using
         "int blks = std::min(noutput_items/d_m, ninput_items[0]/d_n);"
at the general_work ?

Thanks a million in advance!
Regards,
Ali


_______________________________________________
Discuss-gnuradio mailing list
address@hidden
https://lists.gnu.org/mailman/listinfo/discuss-gnuradio


reply via email to

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