diff --git a/audio/out/ao_pipewire.c b/audio/out/ao_pipewire.c index 72e610d8a6..486f877a90 100644 --- a/audio/out/ao_pipewire.c +++ b/audio/out/ao_pipewire.c @@ -58,9 +58,9 @@ static inline int pw_stream_get_time_n(struct pw_stream *stream, struct pw_time #if !PW_CHECK_VERSION(1, 0, 4) static uint64_t pw_stream_get_nsec(struct pw_stream *stream) { - struct timespec ts; - clock_gettime(CLOCK_MONOTONIC, &ts); - return SPA_TIMESPEC_TO_NSEC(&ts); + struct timespec ts; + clock_gettime(CLOCK_MONOTONIC, &ts); + return SPA_TIMESPEC_TO_NSEC(&ts); } #endif