Unnecessary includes

This commit is contained in:
paulfd 2019-08-29 11:03:48 +02:00
parent 6132fbd444
commit 15d28c46ed
2 changed files with 2 additions and 9 deletions

View file

@ -2,15 +2,9 @@
#include "Globals.h"
#include "absl/types/span.h"
#include <chrono>
#include <fstream>
#include <memory>
#include <sndfile.hh>
#include <sstream>
#include <string>
using namespace std::chrono_literals;
template<class T>
template <class T>
void readFromFile(SndfileHandle& sndFile, int numFrames, StereoBuffer<T>& output)
{
if (sndFile.channels() == 1) {
@ -33,7 +27,7 @@ std::optional<sfz::FilePool::FileInformation> sfz::FilePool::getFileInformation(
SndfileHandle sndFile(reinterpret_cast<const char*>(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;

View file

@ -5,7 +5,6 @@
#include "readerwriterqueue.h"
#include <absl/container/flat_hash_map.h>
#include <filesystem>
#include <map>
#include <optional>
#include <sndfile.hh>
#include <string_view>