Package list squeezelite / 81a3629
avoid high cpu load from non configured pulse audio output Adrian Smith 7 years ago
1 changed file(s) with 6 addition(s) and 0 deletion(s). Raw diff Collapse all Expand all
579579 // EPIPE indicates underrun - attempt to recover
580580 UNLOCK;
581581 continue;
582 } else if (err == -EIO) {
583 // EIO can occur with non existant pulse server
584 UNLOCK;
585 LOG_SDEBUG("snd_pcm_delay returns: EIO - sleeping");
586 usleep(100000);
587 continue;
582588 } else {
583589 LOG_DEBUG("snd_pcm_delay returns: %d", err);
584590 }