summaryrefslogtreecommitdiffstats
path: root/flow/gsl/gslloader-wav.c
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-19 11:41:27 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-19 11:41:27 -0600
commitc5c1052f4bae9680eb77340b55e1c1e78c15d1f5 (patch)
treee0770872664938b4cbfc6ae8f14e8d927832832a /flow/gsl/gslloader-wav.c
parentbdff7895a8452d3a139a159f8a1d535730c4739b (diff)
downloadarts-c5c1052f4bae9680eb77340b55e1c1e78c15d1f5.tar.gz
arts-c5c1052f4bae9680eb77340b55e1c1e78c15d1f5.zip
Remove additional unneeded tq method conversions
Diffstat (limited to 'flow/gsl/gslloader-wav.c')
-rw-r--r--flow/gsl/gslloader-wav.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/flow/gsl/gslloader-wav.c b/flow/gsl/gslloader-wav.c
index 85e4cc3..6cb8831 100644
--- a/flow/gsl/gslloader-wav.c
+++ b/flow/gsl/gslloader-wav.c
@@ -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;
}