mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-11-03 09:01:50 -05:00
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.
This commit is contained in:
parent
604bf450dc
commit
31e2bc2fcf
3 changed files with 30 additions and 5 deletions
|
|
@ -43,6 +43,7 @@ int pa_raop_client_teardown(pa_raop_client *c);
|
|||
|
||||
int pa_raop_client_udp_is_alive(pa_raop_client *c);
|
||||
int pa_raop_client_udp_can_stream(pa_raop_client *c);
|
||||
int pa_raop_client_udp_stream(pa_raop_client *c);
|
||||
|
||||
void pa_raop_client_set_encryption(pa_raop_client *c, int encryption);
|
||||
pa_volume_t pa_raop_client_adjust_volume(pa_raop_client *c, pa_volume_t volume);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue