diff options
author | Johns <johns98@gmx.net> | 2012-03-07 15:13:07 +0100 |
---|---|---|
committer | Johns <johns98@gmx.net> | 2012-03-07 15:13:07 +0100 |
commit | ee5804fed7237e382a75c42a9f926ec38bb96e18 (patch) | |
tree | 5c07dc79006e151e461ebda8afb4ea2d9aeb7721 | |
parent | 1cbaddf75c979c6f61a95243157fa5fcd2da388a (diff) | |
download | vdr-plugin-softhddevice-ee5804fed7237e382a75c42a9f926ec38bb96e18.tar.gz vdr-plugin-softhddevice-ee5804fed7237e382a75c42a9f926ec38bb96e18.tar.bz2 |
Handle snd_pcm_wait timeouts.
-rw-r--r-- | audio.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -672,7 +672,8 @@ static void AlsaThread(void) usleep(24 * 1000); continue; } - if (AlsaFlushBuffer || AudioPaused) { + // timeout or some commands + if (!err || AlsaFlushBuffer || AudioPaused) { continue; } if ((err = AlsaPlayRingbuffer())) { // empty / error |