PipeWire  0.3.33
pw_time Struct Reference

A time structure. More...

Data Fields

int64_t now
 the monotonic time in nanoseconds More...
 
struct spa_fraction rate
 the rate of ticks and delay More...
 
uint64_t ticks
 the ticks at now. More...
 
int64_t delay
 delay to device, add to ticks to get the time of the device. More...
 
uint64_t queued
 data queued in the stream, this is the sum of the size fields in the pw_buffer that are currently queued More...
 

Detailed Description

A time structure.

Field Documentation

◆ delay

int64_t pw_time::delay

delay to device, add to ticks to get the time of the device.

Positive for INPUT streams and negative for OUTPUT streams.

Referenced by pw_filter_get_time(), and pw_stream_get_time().

◆ now

int64_t pw_time::now

the monotonic time in nanoseconds

Referenced by pw_filter_get_time(), pw_filter_set_error(), and pw_stream_get_time().

◆ queued

uint64_t pw_time::queued

data queued in the stream, this is the sum of the size fields in the pw_buffer that are currently queued

Referenced by pw_stream_get_time().

◆ rate

struct spa_fraction pw_time::rate

the rate of ticks and delay

Referenced by pw_filter_get_time(), pw_filter_set_error(), and pw_stream_get_time().

◆ ticks

uint64_t pw_time::ticks

the ticks at now.

This is the current time that the remote end is reading/writing.

Referenced by pw_filter_get_time(), pw_filter_set_error(), and pw_stream_get_time().


The documentation for this struct was generated from the following file: