Unified · Split
| @@ -58,9 +58,9 @@ static inline int pw_stream_get_time_n(struct pw_stream *stream, struct pw_time · 57 unmodified lines | ||
| 58 | 58 | #if !PW_CHECK_VERSION(1, 0, 4) |
| 59 | 59 | static uint64_t pw_stream_get_nsec(struct pw_stream *stream) |
| 60 | 60 | { |
| 61 | − struct timespec ts; | |
| 62 | − clock_gettime(CLOCK_MONOTONIC, &ts); | |
| 63 | − return SPA_TIMESPEC_TO_NSEC(&ts); | |
| 61 | + struct timespec ts; | |
| 62 | + clock_gettime(CLOCK_MONOTONIC, &ts); | |
| 63 | + return SPA_TIMESPEC_TO_NSEC(&ts); | |
| 64 | 64 | } |
| 65 | 65 | #endif |
| 66 | 66 | |