]> code.delx.au - pulseaudio/commit
sink-input: Provide more information to client when format is lost
authorArun Raghavan <arun.raghavan@collabora.co.uk>
Sun, 10 Apr 2011 10:54:33 +0000 (16:24 +0530)
committerArun Raghavan <arun.raghavan@collabora.co.uk>
Sun, 15 May 2011 04:39:35 +0000 (10:09 +0530)
commit62f56a9f6b01c277a8c4f15625473df4b73bd208
treeee1248c8089e79a23f3e6c1188e44a7d2dc08ad6
parentd1f13fa781ec69e4dbed000902123d255baaba5f
sink-input: Provide more information to client when format is lost

When the sink format changes and we kill the stream, clients need a way
to know (a) what device they should reconnect to, and (b) what the
stream running time was when the stream got killed (pa_stream_get_time()
won't work after the stream has been killed). This adds these two bits
of information in the event callback's proplist parameter.
src/pulse/stream.c
src/pulsecore/sink-input.c