mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-11-01 22:58:47 -04:00
raop: Code clarification : Only free the I/O thread when everything is initialized
This commit is contained in:
parent
7e6bb05390
commit
46dd3be8ce
1 changed files with 1 additions and 1 deletions
|
|
@ -169,9 +169,9 @@ static int sink_process_msg(pa_msgobject *o, int code, void *data, int64_t offse
|
|||
pa_usec_t now;
|
||||
|
||||
now = pa_rtclock_now();
|
||||
pa_rtpoll_set_timer_absolute(u->rtpoll, now);
|
||||
u->write_count = 0;
|
||||
u->start = now;
|
||||
pa_rtpoll_set_timer_absolute(u->rtpoll, now);
|
||||
|
||||
if (u->sink->thread_info.state == PA_SINK_SUSPENDED) {
|
||||
/* Our stream has been suspended so we just flush it... */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue