Simulated load of a file
This commit is contained in:
@@ -17,10 +17,12 @@ namespace JabyEngine {
|
||||
public:
|
||||
FastCircularBuffer() = default;
|
||||
|
||||
void setup(T* buffer_start_adr) {
|
||||
size_t setup(T* buffer_start_adr) {
|
||||
this->start_adr = buffer_start_adr;
|
||||
this->read_idx = 0;
|
||||
this->write_idx = 0;
|
||||
|
||||
return (sizeof(T)*ElementCount);
|
||||
}
|
||||
|
||||
T* allocate() {
|
||||
|
Reference in New Issue
Block a user