comparison audioio/ClipMixer.cpp @ 366:0876ea394902 warnfix_no_size_t

Remove size_t's, fix compiler warnings
author Chris Cannam
date Tue, 17 Jun 2014 16:23:06 +0100
parents 8d7f39df44ed
children f747be6743ab
comparison
equal deleted inserted replaced
355:e7a3fa8f4eec 366:0876ea394902
47 return false; 47 return false;
48 } 48 }
49 49
50 SF_INFO info; 50 SF_INFO info;
51 SNDFILE *file; 51 SNDFILE *file;
52 int sampleCount = 0;
53 float *tmpFrames; 52 float *tmpFrames;
54 size_t i; 53 int i;
55 54
56 info.format = 0; 55 info.format = 0;
57 file = sf_open(path.toLocal8Bit().data(), SFM_READ, &info); 56 file = sf_open(path.toLocal8Bit().data(), SFM_READ, &info);
58 if (!file) { 57 if (!file) {
59 cerr << "ClipMixer::loadClipData: Failed to open file path \"" 58 cerr << "ClipMixer::loadClipData: Failed to open file path \""