Mercurial > hg > svcore
comparison data/fileio/test/AudioFileReaderTest.h @ 808:67003fb58ba4
Merge from branch "qt5". This revision actually builds with Qt4 (late releases) or Qt5, though it will warn on configure with Qt4.
author | Chris Cannam |
---|---|
date | Tue, 14 May 2013 12:36:05 +0100 |
parents | 2b3a8ae04597 |
children | bb7ea947c60d |
comparison
equal
deleted
inserted
replaced
798:fea591a66e5d | 808:67003fb58ba4 |
---|---|
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); |