Skip to content

Commit

Permalink
Fix windows touch
Browse files Browse the repository at this point in the history
Move the VSTGUI pointer to latest @nathankopp version which
fixes windows touch both on and off touch devices

Closes surge-synthesizer#1470
Closes surge-synthesizer#1469

Also adjust a tolerance on a regtest which woudl fail in the
random envelope stress
  • Loading branch information
baconpaul committed Jan 14, 2020
1 parent ae9fcf9 commit 95a6c69
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions src/headless/UnitTests.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1356,9 +1356,9 @@ TEST_CASE( "ADSR Envelope Behaviour", "[mod]" )
auto surgeA = runAdsr( a, d, s, r, 0, 0, 0, true, a + d + 0.5, t );
auto replA = analogClone( a, d, s, r, a + d + 0.5, t );

REQUIRE( surgeA.size() == replA.size() );

for( auto i=0; i<surgeA.size(); ++i )
REQUIRE( surgeA.size() == Approx( replA.size() ).margin( 3 ) );
auto sz = std::min( surgeA.size(), replA.size() );
for( auto i=0; i<sz; ++i )
{
REQUIRE( replA[i].second == Approx( surgeA[i].second ).margin( 1e-6 ) );
}
Expand Down
2 changes: 1 addition & 1 deletion vstgui.surge

0 comments on commit 95a6c69

Please sign in to comment.