Browse Source

Remove additional unneeded tq method conversions

Timothy Pearson 7 years ago
parent
commit
c5c1052f4b
5 changed files with 9 additions and 9 deletions
  1. 1
    1
      flow/gsl/gslengine.c
  2. 5
    5
      flow/gsl/gslloader-wav.c
  3. 1
    1
      flow/gsl/gslopschedule.c
  4. 1
    1
      mcop/object.cc
  5. 1
    1
      tests/testwrapper.cc

+ 1
- 1
flow/gsl/gslengine.c View File

@@ -664,7 +664,7 @@ gsl_engine_init (gboolean run_threaded,
664 664
   gsl_engine_threaded = run_threaded;
665 665
   gsl_externvar_bsize = block_size;
666 666
   gsl_externvar_sample_freq = sample_freq;
667
-  gsl_externvar_sub_sample_mask = sub_sample_mask << 2;	/* shift out sizeof (float) tqalignment */
667
+  gsl_externvar_sub_sample_mask = sub_sample_mask << 2;	/* shift out sizeof (float) alignment */
668 668
   gsl_externvar_sub_sample_steps = sub_sample_mask + 1;
669 669
   _gsl_tick_stamp_set_leap (block_size);
670 670
 

+ 5
- 5
flow/gsl/gslloader-wav.c View File

@@ -201,7 +201,7 @@ typedef struct
201 201
 static GslErrorType
202 202
 wav_read_data_header (gint        fd,
203 203
 		      DataHeader *header,
204
-		      guint       byte_tqalignment)
204
+		      guint       byte_alignment)
205 205
 {
206 206
   guint n_bytes;
207 207
 
@@ -241,12 +241,12 @@ wav_read_data_header (gint        fd,
241 241
 	  WAV_DEBUG ("failed to seek while skipping sub-chunk");
242 242
 	  return GSL_ERROR_IO;
243 243
 	}
244
-      return wav_read_data_header (fd, header, byte_tqalignment);
244
+      return wav_read_data_header (fd, header, byte_alignment);
245 245
     }
246
-  if (header->data_length < 1 || header->data_length % byte_tqalignment != 0)
246
+  if (header->data_length < 1 || header->data_length % byte_alignment != 0)
247 247
     {
248
-      WAV_DEBUG ("invalid data length (%u) or tqalignment (%u)",
249
-		 header->data_length, header->data_length % byte_tqalignment);
248
+      WAV_DEBUG ("invalid data length (%u) or alignment (%u)",
249
+		 header->data_length, header->data_length % byte_alignment);
250 250
       return GSL_ERROR_FORMAT_INVALID;
251 251
     }
252 252
 

+ 1
- 1
flow/gsl/gslopschedule.c View File

@@ -158,7 +158,7 @@ static void
158 158
 _engine_schedule_grow (EngineSchedule *sched,
159 159
 		       guint           leaf_level)
160 160
 {
161
-  guint ll = 1 << g_bit_storage (leaf_level);	/* power2 growth tqalignment, ll >= leaf_level+1 */
161
+  guint ll = 1 << g_bit_storage (leaf_level);	/* power2 growth alignment, ll >= leaf_level+1 */
162 162
   
163 163
   if (sched->leaf_levels < ll)
164 164
     {

+ 1
- 1
mcop/object.cc View File

@@ -1127,7 +1127,7 @@ Object_stub::Object_stub(Connection *connection, long objectID)
1127 1127
 Object_stub::~Object_stub()
1128 1128
 {
1129 1129
 	/*
1130
-	 * tqinvalidate method lookup cache entries of this object, as it might
1130
+	 * invalidate method lookup cache entries of this object, as it might
1131 1131
 	 * happen, that another Object_stub is created just at the same position
1132 1132
 	 */
1133 1133
 	if(_lookupMethodCache)

+ 1
- 1
tests/testwrapper.cc View File

@@ -157,7 +157,7 @@ struct TestWrapper : public TestCase
157 157
 		d.value(6);
158 158
 		testEquals(1, active_d_objects);
159 159
 
160
-		b = d; // uses operator, not constructor. should tqinvalidate A::cacheOK
160
+		b = d; // uses operator, not constructor. should invalidate A::cacheOK
161 161
 		testEquals(6, b.value());
162 162
 		testEquals(1, active_d_objects);
163 163
 		

Loading…
Cancel
Save