mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-11-04 13:29:59 -05:00
rtpoll: Fixup pa_rtpoll_run
Commit fa092af59c removed an argument to pa_rtpoll_run, but
forgot to remove that argument for all callers to pa_rtpoll_run.
This commit removes the remaining ones.
Signed-off-by: David Henningsson <david.henningsson@canonical.com>
This commit is contained in:
parent
fa092af59c
commit
b3fa929a87
6 changed files with 6 additions and 6 deletions
|
|
@ -232,7 +232,7 @@ static void thread_func(void *userdata) {
|
|||
if (PA_UNLIKELY(u->sink->thread_info.rewind_requested))
|
||||
pa_sink_process_rewind(u->sink, 0);
|
||||
|
||||
if ((ret = pa_rtpoll_run(u->rtpoll, true)) < 0)
|
||||
if ((ret = pa_rtpoll_run(u->rtpoll)) < 0)
|
||||
goto fail;
|
||||
|
||||
if (ret == 0)
|
||||
|
|
|
|||
|
|
@ -198,7 +198,7 @@ static void thread_func(void *userdata) {
|
|||
for (;;) {
|
||||
int ret;
|
||||
|
||||
if ((ret = pa_rtpoll_run(u->rtpoll, true)) < 0)
|
||||
if ((ret = pa_rtpoll_run(u->rtpoll)) < 0)
|
||||
goto fail;
|
||||
|
||||
if (ret == 0)
|
||||
|
|
|
|||
|
|
@ -678,7 +678,7 @@ static void thread_func(void *userdata) {
|
|||
pa_sink_process_rewind(ca_sink->pa_sink, 0);
|
||||
}
|
||||
|
||||
ret = pa_rtpoll_run(u->rtpoll, true);
|
||||
ret = pa_rtpoll_run(u->rtpoll);
|
||||
|
||||
if (ret < 0)
|
||||
goto fail;
|
||||
|
|
|
|||
|
|
@ -783,7 +783,7 @@ static void thread_func(void *userdata) {
|
|||
}
|
||||
|
||||
/* Hmm, nothing to do. Let's sleep */
|
||||
if ((ret = pa_rtpoll_run(u->rtpoll, true)) < 0)
|
||||
if ((ret = pa_rtpoll_run(u->rtpoll)) < 0)
|
||||
goto fail;
|
||||
|
||||
if (ret == 0)
|
||||
|
|
|
|||
|
|
@ -276,7 +276,7 @@ static void thread_func(void *userdata) {
|
|||
pa_rtpoll_set_timer_disabled(u->rtpoll);
|
||||
|
||||
/* Hmm, nothing to do. Let's sleep */
|
||||
if ((ret = pa_rtpoll_run(u->rtpoll, true)) < 0)
|
||||
if ((ret = pa_rtpoll_run(u->rtpoll)) < 0)
|
||||
goto fail;
|
||||
|
||||
if (ret == 0)
|
||||
|
|
|
|||
|
|
@ -353,7 +353,7 @@ static void thread_func(void *userdata) {
|
|||
|
||||
pollfd->events = (short) (u->sink->thread_info.state == PA_SINK_RUNNING ? POLLOUT : 0);
|
||||
|
||||
if ((ret = pa_rtpoll_run(u->rtpoll, true)) < 0)
|
||||
if ((ret = pa_rtpoll_run(u->rtpoll)) < 0)
|
||||
goto fail;
|
||||
|
||||
if (ret == 0)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue