sfizz/sources/FilePool.h
2019-08-03 18:14:58 +02:00

17 lines
No EOL
305 B
C++

#pragma once
#include "StereoBuffer.h"
#include <filesystem>
#include <map>
#include <string_view>
namespace sfz
{
class FilePool
{
public:
FilePool() = default;
private:
std::filesystem::path rootDirectory;
std::map<std::string_view, std::shared_ptr<StereoBuffer<float>>> preloadedData;
};
}