summaryrefslogtreecommitdiff
path: root/gsm-tvoid/src/lib/gsm_burst_cf.cc
diff options
context:
space:
mode:
authortvoid <tvoid@lesaige.com>2008-04-05 13:51:31 -0600
committertvoid <tvoid@lesaige.com>2008-04-05 13:51:31 -0600
commite623985d7bed48ea54ab06635e2e25c6f77f3808 (patch)
treea4301e543d69b0488f6cc390cfd3729bcb6471ef /gsm-tvoid/src/lib/gsm_burst_cf.cc
parent4047af29e93c40d46df88c0a76b158a083d6b630 (diff)
- removed tuning callback cruft
- Added printing options for "(d)ecoded hex for gamdecode" - Fixed print flags for normal, dummy bursts
Diffstat (limited to 'gsm-tvoid/src/lib/gsm_burst_cf.cc')
-rwxr-xr-x[-rw-r--r--]gsm-tvoid/src/lib/gsm_burst_cf.cc8
1 files changed, 3 insertions, 5 deletions
diff --git a/gsm-tvoid/src/lib/gsm_burst_cf.cc b/gsm-tvoid/src/lib/gsm_burst_cf.cc
index f08424d..a91c569 100644..100755
--- a/gsm-tvoid/src/lib/gsm_burst_cf.cc
+++ b/gsm-tvoid/src/lib/gsm_burst_cf.cc
@@ -9,9 +9,9 @@
#include <stdio.h>
#include <gri_mmse_fir_interpolator_cc.h>
-gsm_burst_cf_sptr gsm_make_burst_cf (gr_feval_dd *t,float sample_rate)
+gsm_burst_cf_sptr gsm_make_burst_cf (float sample_rate)
{
- return gsm_burst_cf_sptr (new gsm_burst_cf (t,sample_rate));
+ return gsm_burst_cf_sptr (new gsm_burst_cf (sample_rate));
}
static const int MIN_IN = 1; // minimum number of input streams
@@ -19,17 +19,15 @@ static const int MAX_IN = 1; // maximum number of input streams
static const int MIN_OUT = 1; // minimum number of output streams
static const int MAX_OUT = 1; // maximum number of output streams
-gsm_burst_cf::gsm_burst_cf (gr_feval_dd *t, float sample_rate) :
+gsm_burst_cf::gsm_burst_cf (float sample_rate) :
gr_block ( "burst_cf",
gr_make_io_signature (MIN_IN, MAX_IN, sizeof (gr_complex)),
gr_make_io_signature (MIN_OUT, MAX_OUT, USEFUL_BITS * sizeof (float))),
- gsm_burst(t),
d_clock_counter(0.0),
d_last_sample(0.0,0.0),
d_interp(new gri_mmse_fir_interpolator_cc())
{
- printf("gsm_burst_cf: enter constructor\n");
//clocking parameters
d_sample_interval = 1.0 / sample_rate;
personal git repositories of Harald Welte. Your mileage may vary