mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-11-15 06:59:58 -05:00
properly ask the sink to rewind on new sink inputs and when they disappear
git-svn-id: file:///home/lennart/svn/public/pulseaudio/branches/glitch-free@2266 fefdeb5f-60dc-0310-8127-8f9354f1896f
This commit is contained in:
parent
6946d2ad2d
commit
68e4a93705
1 changed files with 3 additions and 3 deletions
|
|
@ -973,8 +973,8 @@ int pa_sink_process_msg(pa_msgobject *o, int code, void *userdata, int64_t offse
|
||||||
|
|
||||||
pa_sink_invalidate_requested_latency(s);
|
pa_sink_invalidate_requested_latency(s);
|
||||||
|
|
||||||
/* i->thread_info.ignore_rewind = TRUE; */
|
i->thread_info.ignore_rewind = TRUE;
|
||||||
/* pa_sink_request_rewind(s, 0); */
|
pa_sink_request_rewind(s, 0);
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
@ -1014,7 +1014,7 @@ int pa_sink_process_msg(pa_msgobject *o, int code, void *userdata, int64_t offse
|
||||||
|
|
||||||
pa_sink_invalidate_requested_latency(s);
|
pa_sink_invalidate_requested_latency(s);
|
||||||
|
|
||||||
/* pa_sink_request_rewind(s, 0); */
|
pa_sink_request_rewind(s, 0);
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue