Skip to content

Commit

Permalink
Merge pull request #1 from erroreyes/linux_support
Browse files Browse the repository at this point in the history
Small changes to compile for Linux
  • Loading branch information
reillypascal committed Dec 28, 2023
2 parents 7abb16a + c7013e6 commit 150d1ec
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 1 deletion.
21 changes: 21 additions & 0 deletions RSBrokenMedia.jucer
Original file line number Diff line number Diff line change
Expand Up @@ -105,6 +105,27 @@
<MODULEPATH id="juce_gui_extra" path="../../../../../../JUCE/modules"/>
</MODULEPATHS>
</XCODE_MAC>
<LINUX_MAKE targetFolder="Builds/LinuxMakefile">
<CONFIGURATIONS>
<CONFIGURATION isDebug="1" name="Debug"/>
<CONFIGURATION isDebug="0" name="Release"/>
</CONFIGURATIONS>
<MODULEPATHS>
<MODULEPATH id="juce_audio_basics" path="../../juce"/>
<MODULEPATH id="juce_audio_devices" path="../../juce"/>
<MODULEPATH id="juce_audio_formats" path="../../juce"/>
<MODULEPATH id="juce_audio_plugin_client" path="../../juce"/>
<MODULEPATH id="juce_audio_processors" path="../../juce"/>
<MODULEPATH id="juce_audio_utils" path="../../juce"/>
<MODULEPATH id="juce_core" path="../../juce"/>
<MODULEPATH id="juce_data_structures" path="../../juce"/>
<MODULEPATH id="juce_dsp" path="../../juce"/>
<MODULEPATH id="juce_events" path="../../juce"/>
<MODULEPATH id="juce_graphics" path="../../juce"/>
<MODULEPATH id="juce_gui_basics" path="../../juce"/>
<MODULEPATH id="juce_gui_extra" path="../../juce"/>
</MODULEPATHS>
</LINUX_MAKE>
</EXPORTFORMATS>
<MODULES>
<MODULE id="juce_audio_basics" showAllCode="1" useLocalCopy="0" useGlobalPath="1"/>
Expand Down
2 changes: 1 addition & 1 deletion Source/Utilities.h
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ inline float scale(float input, float inLow, float inHi, float outLow, float out
inline float wrap(float a, float b)
{
float mod = fmodf(a, b);
return (a >= 0 ? 0 : b) + (mod > __FLT_EPSILON__ || !isnan(mod) ? mod : 0);
return (a >= 0 ? 0 : b) + (mod > __FLT_EPSILON__ || !std::isnan(mod) ? mod : 0);
}

struct LofiProcessorParameters
Expand Down

0 comments on commit 150d1ec

Please sign in to comment.