mirror of
https://github.com/niellun/FastCarPlay.git
synced 2026-06-07 09:38:25 +02:00
Audio input, Audio optimisation
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user