raop: Better playback resume handling
authorMartin Blanchard <tchaik@gmx.com>
Sun, 6 Nov 2016 18:54:02 +0000 (12:54 -0600)
committerTanu Kaskinen <tanuk@iki.fi>
Thu, 19 Jan 2017 01:00:45 +0000 (03:00 +0200)
commit31e2bc2fcf828e399e62e1525e1f4fc959475106
tree7de94900fc7536a072460205e2e4e7c143082aaa
parent604bf450dc200ee15a8cb1158aa8130caa5b9e2e
raop: Better playback resume handling

When playback stops, a FLUSH command is send to the server and the sink
goes to IDLE. If playback resumes quickly, sink goes back to RUNNING
(without being SUSPENDED) and the sink should just start streaming again.
This patch implements this behaviour.
src/modules/raop/module-raop-sink.c
src/modules/raop/raop_client.c
src/modules/raop/raop_client.h