mirror of
https://github.com/badaix/snapcast.git
synced 2025-05-16 02:26:41 +02:00
stream notifies about new chunks
This commit is contained in:
parent
74dab4ca10
commit
446f2a2f34
4 changed files with 25 additions and 3 deletions
|
@ -201,13 +201,15 @@ void Player::worker()
|
|||
else
|
||||
{
|
||||
logO << "Failed to get chunk\n";
|
||||
usleep(100*1000);
|
||||
while (active_ && !stream_->waitForChunk(100))
|
||||
logD << "Waiting for chunk\n";
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
vector<PcmDevice> Player::pcm_list(void) {
|
||||
vector<PcmDevice> Player::pcm_list(void)
|
||||
{
|
||||
void **hints, **n;
|
||||
char *name, *descr, *io;
|
||||
vector<PcmDevice> result;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue