From aade499aae69ba3856c389a4bfb0b469800e1330 Mon Sep 17 00:00:00 2001 From: Wim Taymans Date: Wed, 7 Nov 2018 10:07:48 +0100 Subject: fix TIMESPEC_TO_NSEC --- spa/plugins/audiotestsrc/audiotestsrc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'spa/plugins/audiotestsrc') diff --git a/spa/plugins/audiotestsrc/audiotestsrc.c b/spa/plugins/audiotestsrc/audiotestsrc.c index e84ae47f..66a71e00 100644 --- a/spa/plugins/audiotestsrc/audiotestsrc.c +++ b/spa/plugins/audiotestsrc/audiotestsrc.c @@ -419,7 +419,7 @@ static int impl_node_send_command(struct spa_node *node, const struct spa_comman clock_gettime(CLOCK_MONOTONIC, &now); if (this->props.live) - this->start_time = SPA_TIMESPEC_TO_TIME(&now); + this->start_time = SPA_TIMESPEC_TO_NSEC(&now); else this->start_time = 0; this->sample_count = 0; -- cgit v1.2.3