summaryrefslogtreecommitdiff
path: root/gsm-tvoid/src/lib/gsm_burst.cc
diff options
context:
space:
mode:
authortvoid <tvoid@lesaige.com>2008-04-05 10:39:01 -0600
committertvoid <tvoid@lesaige.com>2008-04-05 10:39:01 -0600
commit4047af29e93c40d46df88c0a76b158a083d6b630 (patch)
treec786ad84dae6741b84ab85bf2427bbeb7f9d0a71 /gsm-tvoid/src/lib/gsm_burst.cc
parentbfd7d40128d2fea8e113e7a07a3125a6997cfb48 (diff)
- fix burst statistics
- change defaults to float decoder, no eq
Diffstat (limited to 'gsm-tvoid/src/lib/gsm_burst.cc')
-rwxr-xr-x[-rw-r--r--]gsm-tvoid/src/lib/gsm_burst.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/gsm-tvoid/src/lib/gsm_burst.cc b/gsm-tvoid/src/lib/gsm_burst.cc
index 711d3e7..ff5fac1 100644..100755
--- a/gsm-tvoid/src/lib/gsm_burst.cc
+++ b/gsm-tvoid/src/lib/gsm_burst.cc
@@ -148,6 +148,7 @@ void gsm_burst::full_reset(void)
d_normal_count=0;
d_dummy_count=0;
d_unknown_count=0;
+ d_total_count=0;
d_freq_offset=0.0;
d_freq_off_sum=0.0;
@@ -752,6 +753,7 @@ int gsm_burst::get_burst(void)
}
if (got_burst) {
+ d_total_count++;
//do callback
//do_tuner_callback(p_tuner,1.0);
//if (p_callback)
personal git repositories of Harald Welte. Your mileage may vary