From 2a73c38820d743a7daf930d25bdde1ba9a5a53e3 Mon Sep 17 00:00:00 2001 From: tpearson Date: Wed, 10 Aug 2011 22:19:39 +0000 Subject: rename the following methods: tqparent parent tqmask mask git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/dependencies/arts@1246260 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- flow/gsl/gslengine.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'flow/gsl/gslengine.c') diff --git a/flow/gsl/gslengine.c b/flow/gsl/gslengine.c index 32835de..6c6c9f5 100644 --- a/flow/gsl/gslengine.c +++ b/flow/gsl/gslengine.c @@ -635,7 +635,7 @@ static gboolean gsl_engine_threaded = FALSE; static GslThread *master_thread = NULL; guint gsl_externvar_bsize = 0; guint gsl_externvar_sample_freq = 0; -guint gsl_externvar_sub_sample_tqmask = 0; +guint gsl_externvar_sub_sample_mask = 0; guint gsl_externvar_sub_sample_steps = 0; /** @@ -652,20 +652,20 @@ void gsl_engine_init (gboolean run_threaded, guint block_size, guint sample_freq, - guint sub_sample_tqmask) + guint sub_sample_mask) { g_return_if_fail (gsl_engine_initialized == FALSE); g_return_if_fail (block_size > 0 && block_size <= GSL_STREAM_MAX_VALUES); g_return_if_fail (sample_freq > 0); - g_return_if_fail (sub_sample_tqmask < block_size); - g_return_if_fail ((sub_sample_tqmask & (sub_sample_tqmask + 1)) == 0); /* power of 2 */ + g_return_if_fail (sub_sample_mask < block_size); + g_return_if_fail ((sub_sample_mask & (sub_sample_mask + 1)) == 0); /* power of 2 */ gsl_engine_initialized = TRUE; gsl_engine_threaded = run_threaded; gsl_externvar_bsize = block_size; gsl_externvar_sample_freq = sample_freq; - gsl_externvar_sub_sample_tqmask = sub_sample_tqmask << 2; /* shift out sizeof (float) tqalignment */ - gsl_externvar_sub_sample_steps = sub_sample_tqmask + 1; + gsl_externvar_sub_sample_mask = sub_sample_mask << 2; /* shift out sizeof (float) tqalignment */ + gsl_externvar_sub_sample_steps = sub_sample_mask + 1; _gsl_tick_stamp_set_leap (block_size); ENG_DEBUG ("initialization: threaded=%s", gsl_engine_threaded ? "TRUE" : "FALSE"); -- cgit v1.2.1