mirror of
https://codeberg.org/armin/wavetable.git
synced 2026-09-01 05:50:46 +02:00
Use juce::approximatelyEqual instead of gin::almostEqual
This commit is contained in:
parent
7297ab3418
commit
bc20b38624
2 changed files with 2 additions and 2 deletions
|
|
@ -1 +1 @@
|
|||
Subproject commit fc996977c805d91e210111b3168205328a21f00a
|
||||
Subproject commit aba327620034062fe0521ac75858a3b0429023cc
|
||||
|
|
@ -478,7 +478,7 @@ void WavetableAudioProcessor::reloadWavetables()
|
|||
auto shouldLoad = [&] (int osc, const juce::String& name, double sr)
|
||||
{
|
||||
auto& v = curTables[osc];
|
||||
if (v.name == name && gin::almostEqual (v.sampleRate, sr))
|
||||
if (v.name == name && juce::approximatelyEqual (v.sampleRate, sr))
|
||||
return false;
|
||||
|
||||
v.name = name;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue