]> code.delx.au - pulseaudio/commit
tests: Add a latency measurement test
authorArun Raghavan <arun.raghavan@collabora.co.uk>
Tue, 21 May 2013 13:09:30 +0000 (18:39 +0530)
committerArun Raghavan <arun.raghavan@collabora.co.uk>
Mon, 3 Jun 2013 19:08:44 +0000 (00:38 +0530)
commit0862a281aafc016e85070de1fa7a25879edb8113
treec088fb7195f51644abc4ef2b237588fcaed1b85f
parent50af14bd5bdc3906e13155ca5f7f7b1e088a1885
tests: Add a latency measurement test

This test is intended to measure real latency by playing a sample to a
sink and capturing that over a loopback interface. The loopback can
either be physical (cable running from headphone out to line in) or
virtual (monitor source or module loopback).

Also included in this is calibration code to make sure that volumes are
sufficiently adjusted to be able to detect the played back signal (and
that there aren't false positives due to line noise).

One of the objectives of all this is to later factor out the setup code
to allow us to easily write more loopback tests for various
functionality (volumes, resampling, mixing, etc.).
src/Makefile.am
src/tests/lo-latency-test.c [new file with mode: 0644]