How to "declare_sample_delay" in C++?

Hi list,

I am doing some (polyphase) decimation with GNURadio in C++. I
constructed
my filters, I wrote some wrapper, and my script compiles perfectly.
However, I am a bit unclear about “declare_sample_delay”.

Assume that I have the block: pfb_decimator_ccf_0_5. To set the sample
delay for this block to 0, in python, one uses:

self.pfb_decimator_ccf_0_5.declare_sample_delay(0)

What is the proper way to do the same command in C++?

Thanks in advance.

Best wishes,
Khalid

Not sure what you’re asking, the command is wrapped from C++ to Python,
and hence the same in both domains (see also
http://gnuradio.org/doc/doxygen/classgr_1_1block.html#acad5d6e62ea885cb77d19f72451581c2).

Also, 0 is the default.

M

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs