Audio input, Audio optimisation

This commit is contained in:
Niellun
2025-06-02 17:53:50 +03:00
committed by Niellune
parent cb13925433
commit 5e97501c0c
17 changed files with 304 additions and 68 deletions
+5
View File
@@ -68,6 +68,11 @@ public:
return item;
}
bool has(uint8_t count)
{
return _count >= count;
}
bool wait(atomic<bool> &waitFlag, uint8_t count = 0)
{
unique_lock<std::mutex> lock(_mtx);