Correcting windows builds
This commit is contained in:
parent
603b3049bf
commit
ef477dca90
3 changed files with 5 additions and 1 deletions
|
|
@ -11,6 +11,7 @@
|
||||||
#define _SILENCE_CXX17_OLD_ALLOCATOR_MEMBERS_DEPRECATION_WARNING
|
#define _SILENCE_CXX17_OLD_ALLOCATOR_MEMBERS_DEPRECATION_WARNING
|
||||||
#endif
|
#endif
|
||||||
#include <cstddef>
|
#include <cstddef>
|
||||||
|
#include <cstdint>
|
||||||
|
|
||||||
namespace sfz {
|
namespace sfz {
|
||||||
enum class Oversampling: int {
|
enum class Oversampling: int {
|
||||||
|
|
@ -47,7 +48,7 @@ namespace config {
|
||||||
constexpr float A440 { 440.0 };
|
constexpr float A440 { 440.0 };
|
||||||
constexpr size_t powerHistoryLength { 16 };
|
constexpr size_t powerHistoryLength { 16 };
|
||||||
constexpr float voiceStealingThreshold { 0.00001f };
|
constexpr float voiceStealingThreshold { 0.00001f };
|
||||||
constexpr int numCCs { 143 };
|
constexpr uint8_t numCCs { 143 };
|
||||||
constexpr int chunkSize { 1024 };
|
constexpr int chunkSize { 1024 };
|
||||||
constexpr float defaultAmpEGRelease { 0.02f };
|
constexpr float defaultAmpEGRelease { 0.02f };
|
||||||
} // namespace config
|
} // namespace config
|
||||||
|
|
|
||||||
|
|
@ -486,6 +486,7 @@ TEST_CASE("[Files] Looped regions taken from files and possibly overriden")
|
||||||
|
|
||||||
TEST_CASE("[Files] Case sentitiveness")
|
TEST_CASE("[Files] Case sentitiveness")
|
||||||
{
|
{
|
||||||
|
#ifndef WIN32
|
||||||
sfz::Synth synth;
|
sfz::Synth synth;
|
||||||
synth.loadSfzFile(fs::current_path() / "tests/TestFiles/case_insensitive.sfz");
|
synth.loadSfzFile(fs::current_path() / "tests/TestFiles/case_insensitive.sfz");
|
||||||
REQUIRE(synth.getNumRegions() == 4);
|
REQUIRE(synth.getNumRegions() == 4);
|
||||||
|
|
@ -493,4 +494,5 @@ TEST_CASE("[Files] Case sentitiveness")
|
||||||
REQUIRE(synth.getRegionView(1)->sample == "Regions/dummy.wav");
|
REQUIRE(synth.getRegionView(1)->sample == "Regions/dummy.wav");
|
||||||
REQUIRE(synth.getRegionView(2)->sample == "Regions/dummy.wav");
|
REQUIRE(synth.getRegionView(2)->sample == "Regions/dummy.wav");
|
||||||
REQUIRE(synth.getRegionView(3)->sample == "Regions/dummy.wav");
|
REQUIRE(synth.getRegionView(3)->sample == "Regions/dummy.wav");
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -10,6 +10,7 @@
|
||||||
// #include "ghc/fs_std.hpp"
|
// #include "ghc/fs_std.hpp"
|
||||||
#include <absl/types/span.h>
|
#include <absl/types/span.h>
|
||||||
#include <algorithm>
|
#include <algorithm>
|
||||||
|
#include <array>
|
||||||
#include <string>
|
#include <string>
|
||||||
#include <iostream>
|
#include <iostream>
|
||||||
using namespace Catch::literals;
|
using namespace Catch::literals;
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue