# HG changeset patch # User Chris Cannam # Date 1558535864 -3600 # Node ID a47a23c824ac5f5983e7f1e02b63b5f5a5eb75e5 # Parent 417528c41e66cd46f50662e7fdbcb0d26fa51fc7# Parent 219b2c2ff8c2b218e5833ee71c769a58b009105f Merge diff -r 417528c41e66 -r a47a23c824ac data/fileio/test/UnsupportedFormat.cpp --- a/data/fileio/test/UnsupportedFormat.cpp Fri May 17 12:41:06 2019 +0100 +++ b/data/fileio/test/UnsupportedFormat.cpp Wed May 22 15:37:44 2019 +0100 @@ -24,6 +24,15 @@ UnsupportedFormat::isLegitimatelyUnsupported(QString format) { #ifdef Q_OS_WIN + + if (sizeof(void *) == 4) { + // Our 32-bit MinGW build lacks MediaFoundation support + return (format == "aac" || + format == "apple_lossless" || + format == "m4a" || + format == "wma"); + } + // Our CI tests run on Windows Server, which annoyingly seems to // come without codecs for WMA and AAC @@ -49,6 +58,9 @@ std::cerr << "WARNING: Failed to find RtlGetVersion in NTDLL" << std::endl; } + + // If none of the above applies, then we should have everything + // except this: return (format == "apple_lossless");