summaryrefslogtreecommitdiffstats
path: root/src/tests/rtpoll-test.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/tests/rtpoll-test.c')
-rw-r--r--src/tests/rtpoll-test.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tests/rtpoll-test.c b/src/tests/rtpoll-test.c
index e6493771..af942104 100644
--- a/src/tests/rtpoll-test.c
+++ b/src/tests/rtpoll-test.c
@@ -67,7 +67,7 @@ int main(int argc, char *argv[]) {
pa_rtpoll_item_set_before_callback(w, worker);
pa_rtpoll_install(p);
- pa_rtpoll_set_timer_periodic(p, 10000000); /* 10 s */
+ pa_rtpoll_set_timer_relative(p, 10000000); /* 10 s */
pa_rtpoll_run(p, 1);