Browse Source

Remove additional unneeded tq method conversions

tags/r14.0.0
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,
gsl_engine_threaded = run_threaded;
gsl_externvar_bsize = block_size;
gsl_externvar_sample_freq = sample_freq;
gsl_externvar_sub_sample_mask = sub_sample_mask << 2; /* shift out sizeof (float) tqalignment */
gsl_externvar_sub_sample_mask = sub_sample_mask << 2; /* shift out sizeof (float) alignment */
gsl_externvar_sub_sample_steps = sub_sample_mask + 1;
_gsl_tick_stamp_set_leap (block_size);


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

@@ -201,7 +201,7 @@ typedef struct
static GslErrorType
wav_read_data_header (gint fd,
DataHeader *header,
guint byte_tqalignment)
guint byte_alignment)
{
guint n_bytes;

@@ -241,12 +241,12 @@ wav_read_data_header (gint fd,
WAV_DEBUG ("failed to seek while skipping sub-chunk");
return GSL_ERROR_IO;
}
return wav_read_data_header (fd, header, byte_tqalignment);
return wav_read_data_header (fd, header, byte_alignment);
}
if (header->data_length < 1 || header->data_length % byte_tqalignment != 0)
if (header->data_length < 1 || header->data_length % byte_alignment != 0)
{
WAV_DEBUG ("invalid data length (%u) or tqalignment (%u)",
header->data_length, header->data_length % byte_tqalignment);
WAV_DEBUG ("invalid data length (%u) or alignment (%u)",
header->data_length, header->data_length % byte_alignment);
return GSL_ERROR_FORMAT_INVALID;
}


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

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

+ 1
- 1
mcop/object.cc View File

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

+ 1
- 1
tests/testwrapper.cc View File

@@ -157,7 +157,7 @@ struct TestWrapper : public TestCase
d.value(6);
testEquals(1, active_d_objects);

b = d; // uses operator, not constructor. should tqinvalidate A::cacheOK
b = d; // uses operator, not constructor. should invalidate A::cacheOK
testEquals(6, b.value());
testEquals(1, active_d_objects);

Loading…
Cancel
Save