[MPlayer-dev-eng] [PATCH] PulseAudio context and stream connection can have multiple states.

Tobias Arrskog topfs2 at xboxmediacenter.com
Tue Oct 27 22:48:40 CET 2009


When creating context and stream the creation can take on multiple states
and not just PA_CONTEXT_READY and PA_STREAM_READY as described in Pulse
Audio doxygen:

http://0pointer.de/lennart/projects/pulseaudio/doxygen/def_8h.html#a71341d6e189549fc0bd25ab669016df9

and

http://0pointer.de/lennart/projects/pulseaudio/doxygen/def_8h.html#a892684c03cf9edaed1a95e609ec7573c

full doxygen is http://0pointer.de/lennart/projects/pulseaudio/doxygen/

Basically the patch will loop until either the creation has failed or went
through, so waiting on fully creation. Prior to the patch the check if the
creation was done could result in a "Is connecting" and would then consider
it as a failure, which it isn't.

/Tobias Arrskog



More information about the MPlayer-dev-eng mailing list