Added leak detectors on newer objects
This commit is contained in:
parent
68dfadb09e
commit
13f9baed33
2 changed files with 4 additions and 0 deletions
|
|
@ -65,6 +65,8 @@ struct FilePromise
|
||||||
Oversampling oversamplingFactor { config::defaultOversamplingFactor };
|
Oversampling oversamplingFactor { config::defaultOversamplingFactor };
|
||||||
std::atomic_size_t availableFrames { 0 };
|
std::atomic_size_t availableFrames { 0 };
|
||||||
std::atomic<bool> dataReady { false };
|
std::atomic<bool> dataReady { false };
|
||||||
|
|
||||||
|
LEAK_DETECTOR(FilePromise);
|
||||||
};
|
};
|
||||||
|
|
||||||
using FilePromisePtr = std::shared_ptr<FilePromise>;
|
using FilePromisePtr = std::shared_ptr<FilePromise>;
|
||||||
|
|
|
||||||
|
|
@ -64,6 +64,8 @@ public:
|
||||||
private:
|
private:
|
||||||
Oversampling factor;
|
Oversampling factor;
|
||||||
size_t chunkSize;
|
size_t chunkSize;
|
||||||
|
|
||||||
|
LEAK_DETECTOR(Oversampler);
|
||||||
};
|
};
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue