mirror of
https://github.com/badaix/snapcast.git
synced 2025-07-31 15:19:53 +02:00
Check if enough alsa frames are available
This commit is contained in:
parent
57aa683f93
commit
2c7cbc0d75
4 changed files with 30 additions and 28 deletions
|
@ -41,15 +41,6 @@ public:
|
|||
return val;
|
||||
}
|
||||
|
||||
T front()
|
||||
{
|
||||
std::unique_lock<std::mutex> mlock(mutex_);
|
||||
while (queue_.empty())
|
||||
cond_.wait(mlock);
|
||||
|
||||
return queue_.front();
|
||||
}
|
||||
|
||||
void abort_wait()
|
||||
{
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue