summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Henningsson <david.henningsson@canonical.com>2014-11-10 14:15:39 +0100
committerDavid Henningsson <david.henningsson@canonical.com>2014-11-10 14:15:39 +0100
commitb3fa929a87ce455cc93bdcde180c4fb2c07a896e (patch)
tree3aa55fb16cddbd3c5cca5b40ea8a8ebf44acbfc5
parentfa092af59cf64902a5caa99b4c17e2bf4bdbb290 (diff)
rtpoll: Fixup pa_rtpoll_run
Commit fa092af59cf64902a5caa99 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>
-rw-r--r--src/modules/jack/module-jack-sink.c2
-rw-r--r--src/modules/jack/module-jack-source.c2
-rw-r--r--src/modules/macosx/module-coreaudio-device.c2
-rw-r--r--src/modules/module-solaris.c2
-rw-r--r--src/modules/module-waveout.c2
-rw-r--r--src/modules/xen/module-xenpv-sink.c2
6 files changed, 6 insertions, 6 deletions
diff --git a/src/modules/jack/module-jack-sink.c b/src/modules/jack/module-jack-sink.c
index cfa1df8f1..3c8e20164 100644
--- a/src/modules/jack/module-jack-sink.c
+++ b/src/modules/jack/module-jack-sink.c
@@ -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)
diff --git a/src/modules/jack/module-jack-source.c b/src/modules/jack/module-jack-source.c
index 097b47360..1352d435b 100644
--- a/src/modules/jack/module-jack-source.c
+++ b/src/modules/jack/module-jack-source.c
@@ -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)
diff --git a/src/modules/macosx/module-coreaudio-device.c b/src/modules/macosx/module-coreaudio-device.c
index 7b3a00275..d100acd23 100644
--- a/src/modules/macosx/module-coreaudio-device.c
+++ b/src/modules/macosx/module-coreaudio-device.c
@@ -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;
diff --git a/src/modules/module-solaris.c b/src/modules/module-solaris.c
index abde50a91..e5df90b39 100644
--- a/src/modules/module-solaris.c
+++ b/src/modules/module-solaris.c
@@ -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)
diff --git a/src/modules/module-waveout.c b/src/modules/module-waveout.c
index b274271f1..c420d4ae6 100644
--- a/src/modules/module-waveout.c
+++ b/src/modules/module-waveout.c
@@ -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)
diff --git a/src/modules/xen/module-xenpv-sink.c b/src/modules/xen/module-xenpv-sink.c
index 9dbd660f6..aa8c417ae 100644
--- a/src/modules/xen/module-xenpv-sink.c
+++ b/src/modules/xen/module-xenpv-sink.c
@@ -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)