mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-10-29 05:40:27 -04:00
fix TIMESPEC_TO_NSEC
This commit is contained in:
parent
8d9aae061b
commit
aade499aae
5 changed files with 5 additions and 5 deletions
|
|
@ -294,7 +294,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->buffer_count = 0;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue