diff data/fileio/test/AudioFileReaderTest.h @ 1359:1c9bbbb6116a 3.0-integration

Use W64 instead of WAV for decoded files; use Ogg reader in preference to WAV one for Ogg files (WAV reader works, via libsndfile, but doesn't load metadata); fix Ogg reader to use QFile open instead of non-Win32-compatible API; add more encoder tests, audio writer test, midi reader test
author Chris Cannam
date Tue, 10 Jan 2017 10:58:25 +0000
parents 75ad55315db4
children aadfb395e933
line wrap: on
line diff
--- a/data/fileio/test/AudioFileReaderTest.h	Mon Jan 09 18:51:42 2017 +0000
+++ b/data/fileio/test/AudioFileReaderTest.h	Tue Jan 10 10:58:25 2017 +0000
@@ -47,7 +47,7 @@
             base = "svcore/data/fileio/test";
         }
         testDirBase = base;
-        audioDir = base + "/testfiles";
+        audioDir = base + "/audio";
         diffDir = base + "/diffs";
     }
 
@@ -389,7 +389,7 @@
             diffFile += ".wav";
             diffFile = QDir(diffDir).filePath(diffFile);
             WavFileWriter diffWriter(diffFile, readRate, channels,
-                                     WavFileWriter::WriteToTarget); //!!! NB WriteToTemporary not working, why?
+                                     WavFileWriter::WriteToTemporary);
             QVERIFY(diffWriter.isOK());
 
             vector<vector<float>> diffs(channels);