]> code.delx.au - pulseaudio/commit
sink, source: Add a latency offset which is inherited from the port
authorpoljar <poljarinho@gmail.com>
Fri, 22 Jun 2012 18:55:54 +0000 (20:55 +0200)
committerTanu Kaskinen <tanuk@iki.fi>
Mon, 25 Jun 2012 17:07:13 +0000 (20:07 +0300)
commiteebdda456bb79d581294a9032d4be9a9e55df3bd
tree7c47713cfc28cdbb57516927ee9d2a2861bf5f6c
parentbc0348789623f0b253795c2d661bc9ea25111793
sink, source: Add a latency offset which is inherited from the port

A latency offset variable was added to the sink/source struct.

Also a function was introduced to update the latency offset of the
sink/source and a new message type was introduced so we can send the latency
offset to the IO thread.

The latency offset is automatically populated with the latency from the
currently active port.
src/pulsecore/device-port.c
src/pulsecore/sink.c
src/pulsecore/sink.h
src/pulsecore/source.c
src/pulsecore/source.h