# HG changeset patch # User Chris Cannam # Date 1484046379 0 # Node ID 8eddb528ef0cad0d15ca9eba773ea9f6f7e30993 # Parent 1c9bbbb6116a9ca4d62f0ccaa287c288fbf4775b Some platforms don't use native Ogg/Vorbis libraries diff -r 1c9bbbb6116a -r 8eddb528ef0c data/fileio/test/EncodingTest.h --- a/data/fileio/test/EncodingTest.h Tue Jan 10 10:58:25 2017 +0000 +++ b/data/fileio/test/EncodingTest.h Tue Jan 10 11:06:19 2017 +0000 @@ -134,6 +134,12 @@ if (extension != "wav") { +#if (!defined (HAVE_OGGZ) || !defined(HAVE_FISHSOUND)) + if (extension == "ogg") { + QSKIP("Lack native Ogg Vorbis reader, so won't be getting metadata"); + } +#endif + auto blah = reader->getInterleavedFrames(0, 10); QString title = reader->getTitle(); @@ -199,6 +205,12 @@ return; } +#if (!defined (HAVE_OGGZ) || !defined(HAVE_FISHSOUND)) + if (extension == "ogg") { + QSKIP("Lack native Ogg Vorbis reader, so won't be getting metadata"); + } +#endif + AudioFileReaderFactory::Parameters params; AudioFileReader *reader = AudioFileReaderFactory::createReader