This patch set implements configurable latency offset for ports. This latency is then added to the sink/source if the port is currently active. Only pacmd was so far extended to handle the custom latency offset. src/pulsecore/cli-command.c | 87 ++++++++++++++++++++++++++++++++++++++++++++++++++++ src/pulsecore/device-port.c | 34 ++++++++++++++++++++ src/pulsecore/device-port.h | 6 ++++ src/pulsecore/sink.c | 24 +++++++++++++++ src/pulsecore/sink.h | 7 +++++ src/pulsecore/source.c | 22 +++++++++++++ src/pulsecore/source.h | 7 +++++ 7 files changed, 187 insertions(+)