Add missing buffer allocator hint to gr_ofdm_sampler.cc
authorEric Blossom <eb@comsec.com>
Sat, 1 May 2010 01:22:41 +0000 (18:22 -0700)
committerEric Blossom <eb@comsec.com>
Sat, 1 May 2010 01:22:41 +0000 (18:22 -0700)
commite22224454f63be561fa2a5923d35b65ba403b6ac
tree3698ce6e197f07d7c94c51545c4ce270c55907ed
parent9038b3530d0ec746f401f3c443e2f862fff5a18e
Add missing buffer allocator hint to gr_ofdm_sampler.cc

This change was needed because gr_ofdm_sampler derives directly from
gr_block, but functions (from the runtime's point of view) as a
decimator.  It takes many items in to produce a single output
item.  Without this change, values of fft_size > ~4096 would result
in the scheduler complaining that it could never fullfil the block's
request for samples.

When deriving from gr_sync_interpolator or gr_sync_decimator, their
constructors set the hint automatically.
gnuradio-core/src/lib/general/gr_ofdm_sampler.cc