summaryrefslogtreecommitdiffstats
path: root/polyp/module-null-sink.c
diff options
context:
space:
mode:
Diffstat (limited to 'polyp/module-null-sink.c')
-rw-r--r--polyp/module-null-sink.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/polyp/module-null-sink.c b/polyp/module-null-sink.c
index fcac1ea4..6c7a44f2 100644
--- a/polyp/module-null-sink.c
+++ b/polyp/module-null-sink.c
@@ -117,7 +117,7 @@ int pa__init(struct pa_core *c, struct pa_module*m) {
pa_sink_set_owner(u->sink, m);
u->sink->description = pa_sprintf_malloc("NULL sink");
- gettimeofday(&tv, NULL);
+ pa_gettimeofday(&tv);
u->time_event = c->mainloop->time_new(c->mainloop, &tv, time_callback, u);
u->block_size = pa_bytes_per_second(&ss) / 10;