Corrected tests
This commit is contained in:
parent
9d3364889b
commit
dc9acbb3de
1 changed files with 2 additions and 0 deletions
|
|
@ -77,6 +77,7 @@ TEST_CASE("[Synth] Check that we can change the size of the preload before and a
|
|||
{
|
||||
sfz::Synth synth;
|
||||
synth.setPreloadSize(512);
|
||||
synth.setSamplesPerBlock(blockSize);
|
||||
sfz::AudioBuffer<float> buffer { 2, blockSize };
|
||||
synth.loadSfzFile(fs::current_path() / "tests/TestFiles/groups_avl.sfz");
|
||||
synth.setPreloadSize(1024);
|
||||
|
|
@ -92,6 +93,7 @@ TEST_CASE("[Synth] Check that we can change the oversampling factor before and a
|
|||
{
|
||||
sfz::Synth synth;
|
||||
synth.setOversamplingFactor(sfz::Oversampling::x2);
|
||||
synth.setSamplesPerBlock(blockSize);
|
||||
sfz::AudioBuffer<float> buffer { 2, blockSize };
|
||||
synth.loadSfzFile(fs::current_path() / "tests/TestFiles/groups_avl.sfz");
|
||||
synth.setOversamplingFactor(sfz::Oversampling::x4);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue