Method

PwgStreamget_graph_rate

since: 0.3.10

Declaration [src]

unsigned int
pwg_stream_get_graph_rate (
  PwgStream* self
)

Description [src]

Gets the last observed graph clock rate, independently of the negotiated audio format rate. These can differ when the stream is resampled. Changes are notified on the stream’s GLib main context. This is an observation of the graph driving this stream, not a device configuration.

Stability: Unstable

Available since: 0.3.10

Gets propertyPwg.Stream:graph-rate

Return value

Type: unsigned int

Graph clock ticks per second, or 0 before processing, after stop, or when the clock does not have an integral rate.