diff --git a/rhubarb/src/audio/WaveFileReader.cpp b/rhubarb/src/audio/WaveFileReader.cpp index 30da921..5e4dd5e 100644 --- a/rhubarb/src/audio/WaveFileReader.cpp +++ b/rhubarb/src/audio/WaveFileReader.cpp @@ -4,7 +4,6 @@ #include #include "tools/platformTools.h" #include "tools/fileTools.h" -#include using std::runtime_error; using fmt::format; @@ -179,7 +178,7 @@ inline AudioClip::value_type readSample( case SampleFormat::Int32: { int raw = read(file); - sum += toNormalizedFloat(raw, INT_MIN, INT_MAX); + sum += toNormalizedFloat(raw, INT32_MIN, INT32_MAX); break; } case SampleFormat::Float32: