comparison data/fileio/test/AudioFileReaderTest.h @ 936:0c1d6de8f44b

Merge from branch warnfix_no_size_t
author Chris Cannam
date Wed, 18 Jun 2014 13:51:16 +0100
parents e06f03013f46
children 6b931eeba385
comparison
equal deleted inserted replaced
917:49618f39ff09 936:0c1d6de8f44b
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