If you want to have input ports of different types for your processing block, use gr_make_io_signature2 instead of gr_make_io_signature, like this:

gr_make_io_signature2 (2, 2, sizeof(bool), sizeof(float))

For an example usage of the above, look at gnuradio-core/src/lib/general/gr_peak_detector2_fb.cc

Advertisements