Renamed config into buffer_config

This commit is contained in:
2020-04-23 09:43:29 +02:00
parent 40bdd8e9a2
commit 7250f4180a
2 changed files with 1 additions and 1 deletions
+23
View File
@@ -0,0 +1,23 @@
#ifndef BUFFERCONFIG_HPP
#define BUFFERCONFIG_HPP
#include <cstddef>
#include <string>
namespace core_buffer {
// How many frames we store in each file.
// Must be power of 10 and <= than FOLDER_MOD
const size_t FILE_MOD = 1000;
// How many frames go into each files folder.
// Must be power of 10 and >= than FILE_MOD.
const size_t FOLDER_MOD = 100000;
// Extension of our file format.
const std::string FILE_EXTENSION = ".h5";
// How many frames do we read at once during replay.
const size_t REPLAY_BLOCK_SIZE = 100;
}
#endif //BUFFERCONFIG_HPP