summaryrefslogtreecommitdiff
path: root/gnuradio-core/src
diff options
context:
space:
mode:
authorDon Ward2010-05-04 12:47:53 -0400
committerDon Ward2010-05-04 12:47:53 -0400
commit761a6f97a623e07f51743d70d1962c98b26bb599 (patch)
tree03a99721020fbc21b685804f8e7b943c647f9a2e /gnuradio-core/src
parentd702e27d1f3b0e76ef3734ee6b5b6ac1333cdbff (diff)
parente22224454f63be561fa2a5923d35b65ba403b6ac (diff)
downloadgnuradio-761a6f97a623e07f51743d70d1962c98b26bb599.tar.gz
gnuradio-761a6f97a623e07f51743d70d1962c98b26bb599.tar.bz2
gnuradio-761a6f97a623e07f51743d70d1962c98b26bb599.zip
Merge branch 'master' into udp
Diffstat (limited to 'gnuradio-core/src')
-rw-r--r--gnuradio-core/src/lib/general/gr_ofdm_sampler.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/gnuradio-core/src/lib/general/gr_ofdm_sampler.cc b/gnuradio-core/src/lib/general/gr_ofdm_sampler.cc
index 74bd65a50..7f6b2b01c 100644
--- a/gnuradio-core/src/lib/general/gr_ofdm_sampler.cc
+++ b/gnuradio-core/src/lib/general/gr_ofdm_sampler.cc
@@ -1,6 +1,6 @@
/* -*- c++ -*- */
/*
- * Copyright 2007,2008 Free Software Foundation, Inc.
+ * Copyright 2007,2008,2010 Free Software Foundation, Inc.
*
* This file is part of GNU Radio
*
@@ -45,6 +45,7 @@ gr_ofdm_sampler::gr_ofdm_sampler (unsigned int fft_length,
gr_make_io_signature2 (2, 2, sizeof (gr_complex)*fft_length, sizeof(char)*fft_length)),
d_state(STATE_NO_SIG), d_timeout_max(timeout), d_fft_length(fft_length), d_symbol_length(symbol_length)
{
+ set_relative_rate(1.0/(double) fft_length); // buffer allocator hint
}
void