[pulseaudio-tickets] [PulseAudio] #616: [PATCH] Recover stream when it's suspended upon rewind

PulseAudio trac-noreply at tango.0pointer.de
Sun Aug 2 09:20:45 PDT 2009


#616: [PATCH] Recover stream when it's suspended upon rewind
----------------------+-----------------------------------------------------
 Reporter:  lkundrak  |       Owner:  lennart
     Type:  defect    |      Status:  new    
Milestone:  0.9.16    |   Component:  daemon 
 Keywords:            |  
----------------------+-----------------------------------------------------
 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.

-- 
Ticket URL: <http://pulseaudio.org/ticket/616>
PulseAudio <http://pulseaudio.org/>
The PulseAudio Sound Server


More information about the pulseaudio-bugs mailing list