]> git.tuebingen.mpg.de Git - paraslash.git/commit
audiod: Improve receiver restart logic.
authorAndre Noll <maan@systemlinux.org>
Sun, 15 Mar 2009 14:29:12 +0000 (15:29 +0100)
committerAndre Noll <maan@systemlinux.org>
Sun, 15 Mar 2009 14:29:12 +0000 (15:29 +0100)
commit89e28a4361bd120dfe4202a16d85d03fb1139de8
treed3de2aed30c97308ebf9ef6526f6a855047a3da9
parent027e2ddb3ca6e8b29ec826f529cd66bc4447f32f
audiod: Improve receiver restart logic.

Use the vss status flags and the stream_start time announced by
para_server to decide when to start a new receiver.

This is better than basing this decision only on whether the vss status
equals "playing" as we did before. This allows to reliably detect when it
is safe to start a new receiver while the filter/writer of the current
stream are still active.

The old code would simply wait until filter/writer complete which, due to
buffering, might be much too late.
audiod.c
vss.c