diff --git a/src/audio/DCOffset.cpp b/src/audio/DCOffset.cpp index 6937e1a..1316e3b 100644 --- a/src/audio/DCOffset.cpp +++ b/src/audio/DCOffset.cpp @@ -1,5 +1,6 @@ #include "DCOffset.h" #include +#include DCOffset::DCOffset(std::unique_ptr inputStream, float offset) : inputStream(std::move(inputStream)), diff --git a/src/audio/WaveFileReader.cpp b/src/audio/WaveFileReader.cpp index 898c457..24efb04 100644 --- a/src/audio/WaveFileReader.cpp +++ b/src/audio/WaveFileReader.cpp @@ -37,7 +37,7 @@ WaveFileReader::WaveFileReader(boost::filesystem::path filePath) : std::streamoff fileSize = file.tellg(); file.seekg(0); - auto remaining = [&](size_t byteCount) { + auto remaining = [&](int byteCount) { std::streamoff filePosition = file.tellg(); return byteCount <= fileSize - filePosition; }; diff --git a/src/centiseconds.h b/src/centiseconds.h index ff1f769..27705e3 100644 --- a/src/centiseconds.h +++ b/src/centiseconds.h @@ -1,6 +1,7 @@ #pragma once #include +#include typedef std::chrono::duration centiseconds;