diff --git a/sources/FilePool.cpp b/sources/FilePool.cpp index 0f0d9eff..e4c7826d 100644 --- a/sources/FilePool.cpp +++ b/sources/FilePool.cpp @@ -2,15 +2,9 @@ #include "Globals.h" #include "absl/types/span.h" #include -#include -#include -#include -#include -#include using namespace std::chrono_literals; - -template +template void readFromFile(SndfileHandle& sndFile, int numFrames, StereoBuffer& output) { if (sndFile.channels() == 1) { @@ -33,7 +27,7 @@ std::optional sfz::FilePool::getFileInformation( SndfileHandle sndFile(reinterpret_cast(file.c_str())); if (sndFile.channels() != 1 && sndFile.channels() != 2) { - DBG("Missing logic for " << sndFile.channels() <<", discarding sample " << filename); + DBG("Missing logic for " << sndFile.channels() << ", discarding sample " << filename); return {}; } FileInformation returnedValue; diff --git a/sources/FilePool.h b/sources/FilePool.h index b2448e0d..00365c4a 100644 --- a/sources/FilePool.h +++ b/sources/FilePool.h @@ -5,7 +5,6 @@ #include "readerwriterqueue.h" #include #include -#include #include #include #include