#370: Bind and use Alsa recover
------------------------+---------------------------------------------------
Reporter: toots | Owner: admin
Type: Feature | Status: new
Priority: 1 | Milestone: 1.0 beta
Component: Liquidsoap | Version:
Keywords: | Mac: 1
Linux: 1 | Netbsd: 1
Other: 1 | Freebsd: 1
------------------------+---------------------------------------------------
As part of the discussions David had with Liquidsoap users, it appeared
that the use of recover preparing an alsa device after a recoverable error
was recommended.
The attached patch implements this and we get for free the recovery after
a suspend/resume :)
I have also done some cleanup on exception handling in ocaml-alsa.
I think the patch is clean. I have tested suspend/resume here and it
worked like a charm, generating underrun to test too :-)
{{{
2010/07/06 10:58:00 [output(dot)alsa:2] Alsa error: Streams pipe error
2010/07/06 10:58:00 [output(dot)alsa:2] Trying to recover..
2010/07/06 10:58:00 [output(dot)alsa:2] Underrun!
2010/07/06 10:58:00 [output(dot)alsa:2] Trying to recover..
}}}
I think I should commit this patch soon but let me know if you have any
comment before..
--
Ticket URL: <http://savonet.rastageeks.org/ticket/370>
Savonet <http://savonet.rastageeks.org/>
Let's program our stream !
------------------------------------------------------------------------------
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
_______________________________________________
Savonet-trac mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/savonet-trac