[alsa] Do not kill threshold, it gives underruns after snd_pcm_prepare()

This commit is contained in:
ejurgensen 2016-03-17 12:46:51 +01:00
parent 8b2c68af0e
commit d2d52c7d68
1 changed files with 0 additions and 5 deletions

View File

@ -216,11 +216,6 @@ laudio_alsa_write(uint8_t *buf, uint64_t rtptime)
} }
else if ((pcm_status != LAUDIO_RUNNING) && (pcm_pos >= pcm_start_pos)) else if ((pcm_status != LAUDIO_RUNNING) && (pcm_pos >= pcm_start_pos))
{ {
/* Kill threshold */
ret = laudio_alsa_set_start_threshold(0);
if (ret < 0)
DPRINTF(E_WARN, L_LAUDIO, "Couldn't set PCM start threshold to 0 for output start\n");
update_status(LAUDIO_RUNNING); update_status(LAUDIO_RUNNING);
} }