Use juce::approximatelyEqual instead of gin::almostEqual

This commit is contained in:
Roland Rabien 2023-08-31 18:38:04 -07:00
commit bc20b38624
2 changed files with 2 additions and 2 deletions

@ -1 +1 @@
Subproject commit fc996977c805d91e210111b3168205328a21f00a Subproject commit aba327620034062fe0521ac75858a3b0429023cc

View file

@ -478,7 +478,7 @@ void WavetableAudioProcessor::reloadWavetables()
auto shouldLoad = [&] (int osc, const juce::String& name, double sr) auto shouldLoad = [&] (int osc, const juce::String& name, double sr)
{ {
auto& v = curTables[osc]; auto& v = curTables[osc];
if (v.name == name && gin::almostEqual (v.sampleRate, sr)) if (v.name == name && juce::approximatelyEqual (v.sampleRate, sr))
return false; return false;
v.name = name; v.name = name;