diff options
author | Lubomir Rintel <lkundrak@v3.sk> | 2009-08-02 17:52:05 +0200 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2009-08-03 22:47:15 +0200 |
commit | 34f31f666e2a2c301e0735e48e48da44ff503acc (patch) | |
tree | 70a131739de4eb99201e44cb9a1e8181512f39a3 /bootstrap.sh | |
parent | 277822053c2f070940e5a996b9a6d95645d74590 (diff) | |
download | pulseaudio-panda-34f31f666e2a2c301e0735e48e48da44ff503acc.tar.gz pulseaudio-panda-34f31f666e2a2c301e0735e48e48da44ff503acc.tar.bz2 pulseaudio-panda-34f31f666e2a2c301e0735e48e48da44ff503acc.zip |
Recover stream when it's suspended upon rewind
Error from snd_pcm_rewind() might mean we just woke up from suspend and
didn't have a chance to try to recover the stream since we didn't write
to it in between. Call try_recover() in such cases.
Note that for this to work kernel must return ESTRPIPE instead of EBADF
for rewind/forward attempts on suspended streams, so that
snd_pcm_recover() can recognize it should snd_pcm_resume() the stream.
This is not the case yet (2.6.31-rc5), patch is available.
Signed-off-by: Lubomir Rintel <lkundrak@v3.sk>
Diffstat (limited to 'bootstrap.sh')
0 files changed, 0 insertions, 0 deletions