Mercurial > hg > svcore
comparison data/fileio/test/AudioFileReaderTest.h @ 932:e06f03013f46 warnfix_no_size_t
Various size_t etc removals, and compiler warning fixes
author | Chris Cannam |
---|---|
date | Tue, 17 Jun 2014 16:42:51 +0100 |
parents | bb7ea947c60d |
children | 6b931eeba385 |
comparison
equal
deleted
inserted
replaced
931:df82da55e86a | 932:e06f03013f46 |
---|---|
92 int channels = reader->getChannelCount(); | 92 int channels = reader->getChannelCount(); |
93 AudioTestData tdata(readRate, channels); | 93 AudioTestData tdata(readRate, channels); |
94 | 94 |
95 float *reference = tdata.getInterleavedData(); | 95 float *reference = tdata.getInterleavedData(); |
96 int refFrames = tdata.getFrameCount(); | 96 int refFrames = tdata.getFrameCount(); |
97 int refsize = refFrames * channels; | |
98 | 97 |
99 vector<float> test; | 98 vector<float> test; |
100 | 99 |
101 // The reader should give us exactly the expected number of | 100 // The reader should give us exactly the expected number of |
102 // frames, except for mp3/aac files. We ask for quite a lot | 101 // frames, except for mp3/aac files. We ask for quite a lot |