comparison data/fileio/test/AudioFileReaderTest.h @ 763:2b3a8ae04597 qt5

Get remainder of svcore building with Qt5
author Chris Cannam
date Mon, 11 Mar 2013 13:55:22 +0000
parents a43acbe3988f
children bb7ea947c60d
comparison
equal deleted inserted replaced
762:3b2409646cc0 763:2b3a8ae04597
76 int nominalChannels = bits[1].toInt(); 76 int nominalChannels = bits[1].toInt();
77 int nominalDepth = 16; 77 int nominalDepth = 16;
78 if (bits.length() > 2) nominalDepth = bits[2].toInt(); 78 if (bits.length() > 2) nominalDepth = bits[2].toInt();
79 79
80 if (!reader) { 80 if (!reader) {
81 QSKIP("Unsupported file, skipping", SkipSingle); 81 QSKIP("Unsupported file, skipping");
82 } 82 }
83 83
84 QCOMPARE((int)reader->getChannelCount(), nominalChannels); 84 QCOMPARE((int)reader->getChannelCount(), nominalChannels);
85 QCOMPARE((int)reader->getNativeRate(), nominalRate); 85 QCOMPARE((int)reader->getNativeRate(), nominalRate);
86 QCOMPARE((int)reader->getSampleRate(), readRate); 86 QCOMPARE((int)reader->getSampleRate(), readRate);