mirror of
https://projects.vdr-developer.org/git/vdr-plugin-softhddevice.git
synced 2023-10-10 19:16:51 +02:00
Handle snd_pcm_wait timeouts.
This commit is contained in:
parent
1cbaddf75c
commit
ee5804fed7
3
audio.c
3
audio.c
@ -672,7 +672,8 @@ static void AlsaThread(void)
|
|||||||
usleep(24 * 1000);
|
usleep(24 * 1000);
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
if (AlsaFlushBuffer || AudioPaused) {
|
// timeout or some commands
|
||||||
|
if (!err || AlsaFlushBuffer || AudioPaused) {
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
if ((err = AlsaPlayRingbuffer())) { // empty / error
|
if ((err = AlsaPlayRingbuffer())) { // empty / error
|
||||||
|
Loading…
Reference in New Issue
Block a user